Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000811/0.000811, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007911/0.0007911, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8596/0.8596, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03627/0.03627, allocations: 8.611 MB / 268.6 MB, free: 5.117 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 396.3 MB, free: 2.164 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.577e-05, allocations: 6.219 kB / 396.3 MB, free: 2.156 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.003528/0.003554, allocations: 3.87 MB / 400.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.005788, allocations: 1.817 MB / 402 MB, free: 12.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004586/0.006247, allocations: 110.8 kB / 402.1 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.006505, allocations: 185.6 kB / 402.3 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000388/0.006893, allocations: 190 kB / 402.5 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.008039, allocations: 0.99 MB / 403.5 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.009098, allocations: 1.639 MB / 405.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004035/0.009502, allocations: 305.1 kB / 405.4 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000721/0.01022, allocations: 0.9429 MB / 406.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.01062, allocations: 438.2 kB / 406.8 MB, free: 7.629 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.01074, allocations: 128 kB / 406.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.982e-05/0.01083, allocations: 128 kB / 407 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.01099, allocations: 330.6 kB / 407.4 MB, free: 7.055 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.01122, allocations: 410.5 kB / 407.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009201/0.01214, allocations: 1.386 MB / 409.1 MB, free: 5.262 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01215, allocations: 4 kB / 409.1 MB, free: 5.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01215, allocations: 4 kB / 409.1 MB, free: 5.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.01216, allocations: 0 / 409.1 MB, free: 5.254 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.001818/0.01398, allocations: 1.737 MB / 410.9 MB, free: 3.473 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.01402, allocations: 12.03 kB / 410.9 MB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.01421, allocations: 187.8 kB / 411.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.01532, allocations: 0.9782 MB / 412.1 MB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.01547, allocations: 312.7 kB / 412.4 MB, free: 1.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.01559, allocations: 136.3 kB / 412.5 MB, free: 1.758 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.01689, allocations: 1.588 MB / 414.1 MB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.01692, allocations: 8.125 kB / 414.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-05/0.01699, allocations: 52.36 kB / 414.1 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.01701, allocations: 36.12 kB / 414.2 MB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008742/0.01788, allocations: 0.7765 MB / 415 MB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003475/0.02136, allocations: 4.856 MB / 419.8 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.02237, allocations: 0.8013 MB / 420.6 MB, free: 9.227 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.02276, allocations: 394.7 kB / 421 MB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.197e-05/0.02281, allocations: 16.98 kB / 421 MB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.02284, allocations: 47.56 kB / 421.1 MB, free: 8.766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=99): time 3.035e-06/0.02284, allocations: 0 / 421.1 MB, free: 8.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=99): time 0.001229/0.02407, allocations: 1.096 MB / 422.2 MB, free: 7.668 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.0242, allocations: 380.8 kB / 422.5 MB, free: 7.207 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007479/0.02495, allocations: 1.039 MB / 423.6 MB, free: 6.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.025, allocations: 49.7 kB / 423.6 MB, free: 6.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.02535, allocations: 0.6655 MB / 424.3 MB, free: 5.434 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.02555, allocations: 400.6 kB / 424.7 MB, free: 5.039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.02578, allocations: 295.5 kB / 425 MB, free: 4.746 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.02586, allocations: 309.1 kB / 425.3 MB, free: 4.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.02627, allocations: 371.8 kB / 425.6 MB, free: 4.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007548/0.02703, allocations: 1.173 MB / 426.8 MB, free: 2.613 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.02809, allocations: 1.211 MB / 428 MB, free: 1.219 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.0281, allocations: 4 kB / 428 MB, free: 1.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001348/0.02944, allocations: 1.391 MB / 429.4 MB, free: 15.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.02947, allocations: 8 kB / 429.4 MB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.02948, allocations: 15.94 kB / 429.4 MB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.0295, allocations: 24 kB / 429.5 MB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/0.03021, allocations: 355.8 kB / 429.8 MB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.03023, allocations: 31.86 kB / 429.8 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.03059, allocations: 154.9 kB / 430 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.03064, allocations: 60 kB / 430 MB, free: 15.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 32 (R_FS.satLOW_in,R_FS.satHIGH_in,R_FS.ATreq_in,R_FS.TS_in,R_Osc.TS_in,R_US.TS_in,R_OS.TS_in,R_iD.TS_in,R_i.TS_in,R_FOD.TS_in,R_FO.TS_in,R_Osc.satLOW_in,R_Osc.satHIGH_in,R_Osc.ATreq_in,R_US.satLOW_in,R_US.satHIGH_in,R_US.ATreq_in,R_OS.satLOW_in,R_OS.satHIGH_in,R_OS.ATreq_in,R_iD.satLOW_in,R_iD.satHIGH_in,R_iD.ATreq_in,R_i.satLOW_in,R_i.satHIGH_in,R_i.ATreq_in,R_FOD.satLOW_in,R_FOD.satHIGH_in,R_FOD.ATreq_in,R_FO.satLOW_in,R_FO.satHIGH_in,R_FO.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003043/0.03094, allocations: 303.3 kB / 430.3 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.03105, allocations: 139.1 kB / 430.5 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.03217, allocations: 1.058 MB / 431.5 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.03218, allocations: 8 kB / 431.5 MB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.03219, allocations: 4 kB / 431.5 MB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.03219, allocations: 11.91 kB / 431.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007219/0.03292, allocations: 0.8286 MB / 432.4 MB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.03292, allocations: 4 kB / 432.4 MB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008501/0.03377, allocations: 311.7 kB / 432.7 MB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.03378, allocations: 4 kB / 432.7 MB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-05/0.03383, allocations: 31.98 kB / 432.7 MB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.03383, allocations: 4 kB / 432.7 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.03384, allocations: 3.984 kB / 432.7 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.03523, allocations: 1.47 MB / 434.2 MB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/0.03533, allocations: 142.8 kB / 434.3 MB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.539e-05/0.0354, allocations: 28 kB / 434.4 MB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.03564, allocations: 31.98 kB / 434.4 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.03572, allocations: 76.84 kB / 434.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.03575, allocations: 32 kB / 434.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004967/0.03625, allocations: 0.6323 MB / 435.1 MB, free: 10.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03625, allocations: 0 / 435.1 MB, free: 10.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004643/0.03671, allocations: 251.5 kB / 435.4 MB, free: 9.762 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (NoControl.firstOrder.y,NoControl.firstOrder1.y,NoControl.integrator.y,NoControl.integrator1.y,NoControl.leadLag.dy,NoControl.firstOrder2.y,NoControl.leadLag1.dy,NoControl.firstOrder3.y,NoControl.complexPoles.y,NoControl.complexPoles.dy,NoControl.leadLag2.dy,NoControl.firstOrder4.y,Controlled.firstOrder.y,Controlled.firstOrder1.y,Controlled.integrator.y,Controlled.integrator1.y,Controlled.leadLag.dy,Controlled.firstOrder2.y,Controlled.leadLag1.dy,Controlled.firstOrder3.y,Controlled.complexPoles.y,Controlled.complexPoles.dy,Controlled.leadLag2.dy,Controlled.firstOrder4.y,R_FO.Iaction,R_FO.Fder,R_FOD.Iaction,R_FOD.Fder,R_i.Iaction,R_i.Fder,R_iD.Iaction,R_iD.Fder,R_OS.Iaction,R_OS.Fder,R_US.Iaction,R_US.Fder,R_Osc.Iaction,R_Osc.Fder,R_FS.Iaction,R_FS.Fder) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001286/0.03684, allocations: 151 kB / 435.5 MB, free: 9.605 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009779/0.03782, allocations: 0.9265 MB / 436.5 MB, free: 8.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.03782, allocations: 0 / 436.5 MB, free: 8.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003979/0.03822, allocations: 429.5 kB / 436.9 MB, free: 8.258 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.03866, allocations: 166.7 kB / 437 MB, free: 8.102 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.04138, allocations: 2.71 MB / 439.8 MB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.04175, allocations: 0.6074 MB / 440.4 MB, free: 4.707 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.04197, allocations: 120.5 kB / 440.5 MB, free: 4.59 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.04197, allocations: 0 / 440.5 MB, free: 4.59 MB / 410.7 MB Notification: Performance of Templates: time 0.1608/0.2028, allocations: 15.48 MB / 456 MB, free: 82.4 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.sim & ./IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.060912519693375] Failed to read output from testmodel.py, exit status != 0: 0.20839540380984545 0.214885489 0.201373416 Calling exit ...