Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.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.001342/0.001342, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001557/0.001557, allocations: 213.8 kB / 22.25 MB, free: 4.859 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.06896/0.06896, allocations: 11.33 MB / 323.8 MB, free: 8.121 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.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") [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.002184/0.002184, allocations: 71.89 kB / 451.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.144, allocations: 56.07 MB / 0.4956 GB, free: 1.652 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.00536/0.1494, allocations: 2.141 MB / 0.4977 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.1518, allocations: 0.9939 MB / 0.4987 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.1521, allocations: 15.81 kB / 0.4987 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.1524, allocations: 99.27 kB / 0.4988 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.1525, allocations: 75.5 kB / 0.4989 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.1537, allocations: 351.3 kB / 0.4992 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.1547, allocations: 0.6496 MB / 0.4998 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002806/0.155, allocations: 69.19 kB / 0.4999 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/0.1554, allocations: 231.2 kB / 0.5001 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000461/0.1558, allocations: 247 kB / 0.5004 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.904e-05/0.1559, allocations: 36 kB / 0.5004 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.1561, allocations: 103.9 kB / 0.5005 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.1564, allocations: 159.5 kB / 0.5007 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.1566, allocations: 182.8 kB / 0.5008 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007022/0.1573, allocations: 0.5328 MB / 0.5014 GB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1573, allocations: 0 / 0.5014 GB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1573, allocations: 0 / 0.5014 GB, free: 11.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.1573, allocations: 0 / 0.5014 GB, free: 11.77 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.00162/0.1589, allocations: 0.822 MB / 0.5022 GB, free: 10.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.159, allocations: 12.03 kB / 0.5022 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.1591, allocations: 68.52 kB / 0.5022 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007845/0.1599, allocations: 378.9 kB / 0.5026 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.1599, allocations: 37.38 kB / 0.5026 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.16, allocations: 40.38 kB / 0.5027 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.1612, allocations: 0.5878 MB / 0.5032 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.133e-05/0.1612, allocations: 11.95 kB / 0.5033 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.1612, allocations: 16 kB / 0.5033 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.1613, allocations: 12 kB / 0.5033 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007794/0.162, allocations: 437.3 kB / 0.5037 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003247/0.1653, allocations: 1.979 MB / 0.5056 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/0.1659, allocations: 292.1 kB / 0.5059 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.1662, allocations: 194.5 kB / 0.5061 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.1663, allocations: 4 kB / 0.5061 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004855/0.1667, allocations: 294.9 kB / 0.5064 GB, free: 6.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 3.416e-06/0.1668, allocations: 0 / 0.5064 GB, free: 6.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.001205/0.168, allocations: 0.641 MB / 0.507 GB, free: 5.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.168, allocations: 89.05 kB / 0.5071 GB, free: 5.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006113/0.1686, allocations: 473.6 kB / 0.5075 GB, free: 5.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.1687, allocations: 33.7 kB / 0.5076 GB, free: 5.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.169, allocations: 308.2 kB / 0.5079 GB, free: 4.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.1692, allocations: 150.8 kB / 0.508 GB, free: 4.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.1693, allocations: 114.1 kB / 0.5081 GB, free: 4.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.1695, allocations: 366.8 kB / 0.5085 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.1699, allocations: 198.8 kB / 0.5087 GB, free: 3.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.1704, allocations: 387.3 kB / 0.509 GB, free: 3.492 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/0.1727, allocations: 1.106 MB / 0.5101 GB, free: 2.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.1727, allocations: 4 kB / 0.5101 GB, free: 2.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001266/0.174, allocations: 0.7864 MB / 0.5109 GB, free: 1.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.544e-05/0.174, allocations: 37.7 kB / 0.5109 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.1741, allocations: 4 kB / 0.5109 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.1741, allocations: 16.72 kB / 0.5109 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/0.1746, allocations: 143.7 kB / 0.5111 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.656e-05/0.1746, allocations: 19.92 kB / 0.5111 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.1749, allocations: 63.55 kB / 0.5112 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.1749, allocations: 28 kB / 0.5112 GB, free: 1.156 MB / 382.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 15 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,R_Bias.TS_in,R.TS_in,R_Bias.satLOW_in,R_Bias.satHIGH_in,R_Bias.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 1 * 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.0004295/0.1754, allocations: 279.6 kB / 0.5114 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.1755, allocations: 51.67 kB / 0.5115 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009744/0.1764, allocations: 0.5589 MB / 0.512 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1764, allocations: 4 kB / 0.512 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.1765, allocations: 3.938 kB / 0.512 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1765, allocations: 3.984 kB / 0.512 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2612/0.4377, allocations: 362.5 kB / 0.5124 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.4377, allocations: 0 / 0.5124 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.4382, allocations: 86.52 kB / 0.5125 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.4383, allocations: 0 / 0.5125 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.625e-05/0.4383, allocations: 15.16 kB / 0.5125 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4383, allocations: 2.75 kB / 0.5125 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4383, allocations: 0.5938 kB / 0.5125 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.4394, allocations: 0.7837 MB / 0.5133 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.4394, allocations: 48.23 kB / 0.5133 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.159e-05/0.4395, allocations: 18.39 kB / 0.5133 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4397, allocations: 15.78 kB / 0.5133 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.4397, allocations: 24.03 kB / 0.5134 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.4398, allocations: 17.81 kB / 0.5134 GB, free: 23.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002744/0.44, allocations: 308.5 kB / 0.5137 GB, free: 23.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.44, allocations: 0.7656 kB / 0.5137 GB, free: 23.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005878/0.4406, allocations: 119.5 kB / 0.5138 GB, free: 23.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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.0002557/0.4409, allocations: 145.6 kB / 0.5139 GB, free: 23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.4419, allocations: 0.5769 MB / 0.5145 GB, free: 22.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4419, allocations: 0 / 0.5145 GB, free: 22.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.4423, allocations: 274.9 kB / 0.5148 GB, free: 22.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.4427, allocations: 47.22 kB / 0.5148 GB, free: 22.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.4447, allocations: 1.165 MB / 0.5159 GB, free: 22.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.445, allocations: 295.1 kB / 0.5162 GB, free: 22.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002609/0.4453, allocations: 102.7 kB / 0.5163 GB, free: 22.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.699e-05/0.4454, allocations: 38.94 kB / 0.5164 GB, free: 22.14 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4454, allocations: 0 / 0.5164 GB, free: 22.14 MB / 382.1 MB Notification: Performance of Templates: time 0.01176/0.4571, allocations: 4.11 MB / 0.5204 GB, free: 21.8 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.271140448749065] Failed to read output from testmodel.py, exit status != 0: 0.467270253226161 0.48287567299999995 0.32197581099999995 Calling exit ...