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.001386/0.001386, allocations: 75.75 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001564/0.001564, allocations: 162.4 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.429/1.429, allocations: 177.2 MB / 203.4 MB, free: 8.922 MB / 190.1 MB " [Timeout remaining time 178] 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.06118/0.06118, allocations: 8.623 MB / 268.4 MB, free: 8.523 MB / 254.1 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 63.91 kB / 396.1 MB, free: 7.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1211, allocations: 56.06 MB / 452.1 MB, free: 15.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.005776/0.1269, allocations: 3.866 MB / 456 MB, free: 11.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.1303, allocations: 1.822 MB / 457.8 MB, free: 10.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005411/0.1309, allocations: 98.94 kB / 457.9 MB, free: 9.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.1313, allocations: 181.6 kB / 458.1 MB, free: 9.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005493/0.1318, allocations: 190.1 kB / 458.3 MB, free: 9.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.1336, allocations: 0.9751 MB / 459.2 MB, free: 8.637 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.1354, allocations: 1.616 MB / 460.9 MB, free: 7.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005546/0.1359, allocations: 301.2 kB / 461.2 MB, free: 6.691 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008677/0.1368, allocations: 0.6886 MB / 461.8 MB, free: 6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007046/0.1375, allocations: 0.5394 MB / 462.4 MB, free: 5.457 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.1377, allocations: 128 kB / 462.5 MB, free: 5.332 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.1379, allocations: 128 kB / 462.6 MB, free: 5.207 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.1382, allocations: 326.7 kB / 462.9 MB, free: 4.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00051/0.1387, allocations: 0.5085 MB / 463.5 MB, free: 4.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.1402, allocations: 1.403 MB / 464.9 MB, free: 2.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1402, allocations: 0 / 464.9 MB, free: 2.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1403, allocations: 0 / 464.9 MB, free: 2.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.1403, allocations: 0 / 464.9 MB, free: 2.965 MB / 430.1 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.00338/0.1436, allocations: 1.758 MB / 466.6 MB, free: 1.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1437, allocations: 8.031 kB / 466.6 MB, free: 1.152 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003022/0.144, allocations: 187.8 kB / 466.8 MB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/0.146, allocations: 0.979 MB / 467.8 MB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002612/0.1462, allocations: 308.7 kB / 468.1 MB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/0.1464, allocations: 140.3 kB / 468.2 MB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.1487, allocations: 1.6 MB / 469.8 MB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/0.1487, allocations: 11.88 kB / 469.8 MB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.945e-05/0.1488, allocations: 48 kB / 469.9 MB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.1489, allocations: 28 kB / 469.9 MB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.1503, allocations: 0.7804 MB / 470.7 MB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006445/0.1568, allocations: 4.868 MB / 475.6 MB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.1584, allocations: 0.7994 MB / 476.4 MB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006795/0.1591, allocations: 390.7 kB / 476.7 MB, free: 6.527 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.161e-05/0.1591, allocations: 24.98 kB / 476.8 MB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.1592, allocations: 47.5 kB / 476.8 MB, free: 6.449 MB / 446.1 MB Notification: Performance of pre-optimization done (n=99): time 3.086e-06/0.1592, allocations: 0 / 476.8 MB, free: 6.449 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.002129/0.1613, allocations: 1.1 MB / 477.9 MB, free: 5.344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002531/0.1616, allocations: 376.8 kB / 478.3 MB, free: 4.883 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.1629, allocations: 1.033 MB / 479.3 MB, free: 3.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.95e-05/0.163, allocations: 49.64 kB / 479.4 MB, free: 3.785 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006167/0.1636, allocations: 0.6694 MB / 480 MB, free: 3.109 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003554/0.1639, allocations: 400.6 kB / 480.4 MB, free: 2.715 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003983/0.1643, allocations: 299.5 kB / 480.7 MB, free: 2.418 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1645, allocations: 309.1 kB / 481 MB, free: 2.113 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006623/0.1651, allocations: 371.8 kB / 481.4 MB, free: 1.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.1664, allocations: 1.169 MB / 482.5 MB, free: 296 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2052/0.3716, allocations: 1.211 MB / 483.8 MB, free: 65.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.3716, allocations: 6.375 kB / 483.8 MB, free: 65.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001877/0.3735, allocations: 1.39 MB / 485.2 MB, free: 65.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3735, allocations: 9.812 kB / 485.2 MB, free: 65.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.3736, allocations: 14.16 kB / 485.2 MB, free: 65.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.874e-05/0.3736, allocations: 22.09 kB / 485.2 MB, free: 65.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.375, allocations: 354.1 kB / 485.5 MB, free: 65.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.32e-05/0.375, allocations: 30.7 kB / 485.6 MB, free: 65.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/0.3758, allocations: 155.4 kB / 485.7 MB, free: 65.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/0.3759, allocations: 64.59 kB / 485.8 MB, free: 65.54 MB / 446.1 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.0004072/0.3763, allocations: 304.7 kB / 486.1 MB, free: 65.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.3764, allocations: 140 kB / 486.2 MB, free: 65.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.3779, allocations: 1.058 MB / 487.3 MB, free: 65.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.3779, allocations: 12.62 kB / 487.3 MB, free: 65.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.378, allocations: 0 / 487.3 MB, free: 65.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.378, allocations: 7.688 kB / 487.3 MB, free: 65.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008771/0.3788, allocations: 0.8324 MB / 488.1 MB, free: 64.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3788, allocations: 0 / 488.1 MB, free: 64.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/0.3805, allocations: 311.3 kB / 488.4 MB, free: 64.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3805, allocations: 3.25 kB / 488.4 MB, free: 64.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.688e-05/0.3806, allocations: 32.53 kB / 488.5 MB, free: 64.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.3806, allocations: 3.219 kB / 488.5 MB, free: 64.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3806, allocations: 3.469 kB / 488.5 MB, free: 64.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.3824, allocations: 1.468 MB / 490 MB, free: 64.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.3825, allocations: 142.3 kB / 490.1 MB, free: 64.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.3827, allocations: 25.19 kB / 490.1 MB, free: 64.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.3832, allocations: 31.89 kB / 490.1 MB, free: 64.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.3833, allocations: 83.34 kB / 490.2 MB, free: 64.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.3834, allocations: 30.84 kB / 490.3 MB, free: 64.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000571/0.384, allocations: 0.6377 MB / 490.9 MB, free: 64 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.384, allocations: 2.625 kB / 490.9 MB, free: 64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006916/0.3846, allocations: 258.2 kB / 491.1 MB, free: 63.93 MB / 446.1 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.0001293/0.3848, allocations: 145.8 kB / 491.3 MB, free: 63.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.386, allocations: 0.9312 MB / 492.2 MB, free: 63.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.386, allocations: 0 / 492.2 MB, free: 63.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000504/0.3865, allocations: 434.4 kB / 492.6 MB, free: 63.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006579/0.3871, allocations: 148.7 kB / 492.8 MB, free: 63.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.3912, allocations: 2.882 MB / 495.7 MB, free: 61.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.3916, allocations: 0.6087 MB / 496.3 MB, free: 61.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005758/0.3922, allocations: 185.8 kB / 496.5 MB, free: 61.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.3925, allocations: 112.3 kB / 496.6 MB, free: 61.58 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3925, allocations: 0 / 496.6 MB, free: 61.58 MB / 446.1 MB Notification: Performance of Templates: time 0.01668/0.4091, allocations: 8.998 MB / 0.4937 GB, free: 60.42 MB / 446.1 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 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.193783810012974] Failed to read output from testmodel.py, exit status != 0: 0.4175012849736959 0.430151367 0.287066298 Calling exit ...