Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.0008413/0.0008413, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0008596/0.0008596, allocations: 173 kB / 23.36 MB, free: 1.129 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.8653/0.8653, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.03654/0.03654, allocations: 8.615 MB / 268.9 MB, free: 4.805 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.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 288.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.546e-05, allocations: 2.312 kB / 288.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.1097/0.1097, allocations: 2.202 MB / 290.3 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009973/0.1107, allocations: 0.7214 MB / 291 MB, free: 18.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1108, allocations: 28.5 kB / 291 MB, free: 18.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.111, allocations: 62.42 kB / 291.1 MB, free: 18.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.1112, allocations: 52.03 kB / 291.1 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.1118, allocations: 411.8 kB / 291.5 MB, free: 18.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004153/0.1122, allocations: 0.5358 MB / 292.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1123, allocations: 69.28 kB / 292.1 MB, free: 18.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.1126, allocations: 275.2 kB / 292.4 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.1128, allocations: 165.5 kB / 292.6 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.858e-05/0.1128, allocations: 35.12 kB / 292.6 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.739e-05/0.1129, allocations: 34.94 kB / 292.6 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.113, allocations: 145.2 kB / 292.8 MB, free: 18.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.637e-05/0.113, allocations: 121.6 kB / 292.9 MB, free: 18.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.1133, allocations: 328 kB / 293.2 MB, free: 18.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1133, allocations: 3.938 kB / 293.2 MB, free: 18.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1133, allocations: 2.5 kB / 293.2 MB, free: 18.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1133, allocations: 0.7031 kB / 293.2 MB, free: 18.01 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.000705/0.114, allocations: 0.6968 MB / 293.9 MB, free: 17.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.1141, allocations: 9.906 kB / 293.9 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.794e-05/0.1142, allocations: 72.92 kB / 294 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.1145, allocations: 362.7 kB / 294.3 MB, free: 17.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.557e-05/0.1146, allocations: 83.81 kB / 294.4 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.1146, allocations: 49.12 kB / 294.5 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.115, allocations: 378.8 kB / 294.8 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.115, allocations: 11.05 kB / 294.9 MB, free: 16.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.115, allocations: 17.5 kB / 294.9 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.115, allocations: 14.47 kB / 294.9 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.1152, allocations: 142.7 kB / 295 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.1164, allocations: 1.528 MB / 296.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.1168, allocations: 223.9 kB / 296.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.643e-05/0.1168, allocations: 77.64 kB / 296.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.1169, allocations: 6.344 kB / 296.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/0.1169, allocations: 35.44 kB / 296.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.392e-06/0.1169, allocations: 0 / 296.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0002696/0.1171, allocations: 207.9 kB / 297.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.1172, allocations: 56.83 kB / 297.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.1174, allocations: 365.3 kB / 297.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1174, allocations: 34.73 kB / 297.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.1175, allocations: 231.7 kB / 297.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.1175, allocations: 133.2 kB / 297.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.95e-05/0.1176, allocations: 105.9 kB / 298 MB, free: 14.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.929e-05/0.1176, allocations: 359.4 kB / 298.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-05/0.1177, allocations: 46.33 kB / 298.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-05/0.1178, allocations: 189.5 kB / 298.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.1181, allocations: 361.6 kB / 298.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1181, allocations: 2.062 kB / 298.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0002883/0.1184, allocations: 291.6 kB / 299.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1184, allocations: 10.69 kB / 299.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1184, allocations: 3.875 kB / 299.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1184, allocations: 8.281 kB / 299.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.1187, allocations: 116.9 kB / 299.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.1187, allocations: 13.05 kB / 299.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.243e-05/0.1188, allocations: 49.59 kB / 299.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.1188, allocations: 17.77 kB / 299.4 MB, free: 14.08 MB / 266.7 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 8 (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 (65): * Single equations (assignments): 65 * 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.0001272/0.1189, allocations: 166.8 kB / 299.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.119, allocations: 32.44 kB / 299.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.1192, allocations: 234 kB / 299.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1192, allocations: 6.531 kB / 299.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.1192, allocations: 0.7031 kB / 299.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1192, allocations: 2.141 kB / 299.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.1195, allocations: 232.6 kB / 300.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1195, allocations: 1.406 kB / 300.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.1197, allocations: 88.66 kB / 300.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1197, allocations: 1.5 kB / 300.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.1198, allocations: 9.234 kB / 300.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1198, allocations: 6.094 kB / 300.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1198, allocations: 6 kB / 300.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.1201, allocations: 408.5 kB / 300.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.1201, allocations: 49.06 kB / 300.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1201, allocations: 9.125 kB / 300.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.169e-05/0.1202, allocations: 11.67 kB / 300.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.1202, allocations: 24.58 kB / 300.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1203, allocations: 13.27 kB / 300.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.545e-05/0.1204, allocations: 139 kB / 300.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1204, allocations: 0 / 300.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002147/0.1206, allocations: 87.91 kB / 300.9 MB, free: 13.35 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * 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 (37): * Single equations (assignments): 37 * 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 8.012e-05/0.1206, allocations: 89.72 kB / 301 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.1209, allocations: 209 kB / 301.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.1209, allocations: 5.781 kB / 301.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.415e-05/0.121, allocations: 108.4 kB / 301.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.1211, allocations: 41.86 kB / 301.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007533/0.1219, allocations: 0.8515 MB / 302.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.122, allocations: 141.4 kB / 302.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.1221, allocations: 56.86 kB / 302.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.1222, allocations: 103.6 kB / 302.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1222, allocations: 0 / 302.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Templates: time 0.004852/0.1271, allocations: 2.759 MB / 305.3 MB, free: 11.41 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4969749320298433]