Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.0009017/0.0009017, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009351/0.0009351, allocations: 181 kB / 23.36 MB, free: 1.133 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.9682/0.9682, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.03759/0.03759, allocations: 8.621 MB / 268.9 MB, free: 4.789 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.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 288.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.927e-05, allocations: 2.312 kB / 288.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.1213/0.1213, allocations: 2.247 MB / 290.4 MB, free: 18.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1229, allocations: 1.051 MB / 291.4 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.1231, allocations: 23.78 kB / 291.4 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.1233, allocations: 87.91 kB / 291.5 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.1234, allocations: 74.16 kB / 291.6 MB, free: 18.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008819/0.1243, allocations: 384 kB / 292 MB, free: 18.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006805/0.125, allocations: 0.5441 MB / 292.5 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.1252, allocations: 68.78 kB / 292.6 MB, free: 18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.1255, allocations: 266.7 kB / 292.8 MB, free: 17.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.1258, allocations: 204.1 kB / 293 MB, free: 17.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.362e-05/0.1258, allocations: 36.25 kB / 293.1 MB, free: 17.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.126, allocations: 115.5 kB / 293.2 MB, free: 17.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1261, allocations: 167.8 kB / 293.3 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.1263, allocations: 131.8 kB / 293.5 MB, free: 17.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.1267, allocations: 435.3 kB / 293.9 MB, free: 17.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1267, allocations: 0.875 kB / 293.9 MB, free: 17.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1267, allocations: 1.344 kB / 293.9 MB, free: 17.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.1267, allocations: 0.5 kB / 293.9 MB, free: 17.68 MB / 266.7 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.0009586/0.1277, allocations: 0.7658 MB / 294.7 MB, free: 17.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.1277, allocations: 10.69 kB / 294.7 MB, free: 17.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.1278, allocations: 76.12 kB / 294.7 MB, free: 17.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.1282, allocations: 369.7 kB / 295.1 MB, free: 16.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.1282, allocations: 31.03 kB / 295.1 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.1283, allocations: 49.19 kB / 295.2 MB, free: 16.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.1287, allocations: 425.6 kB / 295.6 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.1287, allocations: 11.8 kB / 295.6 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.1288, allocations: 16.94 kB / 295.6 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.1288, allocations: 15.09 kB / 295.6 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.129, allocations: 182.6 kB / 295.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.1305, allocations: 1.581 MB / 297.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.1308, allocations: 210.3 kB / 297.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.1309, allocations: 90 kB / 297.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.1309, allocations: 7.688 kB / 297.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.1312, allocations: 196.4 kB / 297.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.883e-06/0.1312, allocations: 3.062 kB / 297.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0003796/0.1315, allocations: 310.9 kB / 298.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.1316, allocations: 87.8 kB / 298.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.1318, allocations: 407.7 kB / 298.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1318, allocations: 30.95 kB / 298.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1319, allocations: 256.7 kB / 299 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.731e-05/0.132, allocations: 144.5 kB / 299.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.1321, allocations: 117.7 kB / 299.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.699e-05/0.1322, allocations: 372.3 kB / 299.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/0.1323, allocations: 88.89 kB / 299.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1324, allocations: 263.8 kB / 299.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.1328, allocations: 0.5257 MB / 300.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1328, allocations: 6.156 kB / 300.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0004268/0.1332, allocations: 410.8 kB / 300.9 MB, free: 13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.1333, allocations: 38.77 kB / 300.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1333, allocations: 9.438 kB / 300.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.1333, allocations: 11.53 kB / 300.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.1337, allocations: 151.9 kB / 301.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1337, allocations: 16.41 kB / 301.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.1338, allocations: 62.7 kB / 301.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.1338, allocations: 22.09 kB / 301.2 MB, free: 12.91 MB / 266.7 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.ATreq_in,R.satHIGH_in,R.satLOW_in,R_Bias.ATreq_in,R_Bias.satHIGH_in,R_Bias.satLOW_in,R.TS_in,R_Bias.TS_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.0001884/0.134, allocations: 234.2 kB / 301.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.1341, allocations: 40.95 kB / 301.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.1344, allocations: 300.8 kB / 301.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.1344, allocations: 4.094 kB / 301.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1344, allocations: 0.5 kB / 301.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1344, allocations: 2.016 kB / 301.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.1347, allocations: 232.7 kB / 302 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1347, allocations: 0.5 kB / 302 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.135, allocations: 109.9 kB / 302.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.135, allocations: 1.344 kB / 302.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.1351, allocations: 17.06 kB / 302.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1351, allocations: 2.281 kB / 302.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1351, allocations: 0 / 302.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.1355, allocations: 437.7 kB / 302.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.1356, allocations: 44.2 kB / 302.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.1356, allocations: 17.91 kB / 302.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.637e-05/0.1357, allocations: 11.66 kB / 302.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.1357, allocations: 27.61 kB / 302.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.1357, allocations: 15.73 kB / 302.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.1359, allocations: 152.2 kB / 302.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1359, allocations: 0 / 302.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002993/0.1362, allocations: 126.4 kB / 302.9 MB, free: 12.06 MB / 266.7 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.0001414/0.1363, allocations: 128.2 kB / 303 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003009/0.1366, allocations: 373.7 kB / 303.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.1366, allocations: 5.5 kB / 303.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.1367, allocations: 186.9 kB / 303.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.1369, allocations: 59.66 kB / 303.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009829/0.1379, allocations: 0.991 MB / 304.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.718e-05/0.138, allocations: 158 kB / 304.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.1381, allocations: 50.5 kB / 304.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.1383, allocations: 118.3 kB / 305 MB, free: 10.82 MB / 266.7 MB Notification: Performance of SimCode: time 8.91e-07/0.1383, allocations: 1.156 kB / 305 MB, free: 10.82 MB / 266.7 MB Notification: Performance of Templates: time 0.006151/0.1444, allocations: 4.073 MB / 309 MB, free: 7.773 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.667041444219649]