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.0009899/0.0009899, allocations: 80.81 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.00109/0.00109, allocations: 177 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.9875/0.9875, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.03737/0.03737, allocations: 8.622 MB / 268.9 MB, free: 4.797 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.673e-06/1.673e-06, allocations: 0 / 288.1 MB, free: 1.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.399e-05, allocations: 9.688 kB / 288.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.1156/0.1157, allocations: 2.24 MB / 290.4 MB, free: 19.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1169, allocations: 0.7231 MB / 291.1 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.117, allocations: 24.91 kB / 291.1 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.1172, allocations: 67.7 kB / 291.2 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.1173, allocations: 51.38 kB / 291.2 MB, free: 18.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007418/0.1181, allocations: 408.5 kB / 291.6 MB, free: 18.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005204/0.1186, allocations: 0.5362 MB / 292.2 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1187, allocations: 67.17 kB / 292.2 MB, free: 18.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.119, allocations: 278.4 kB / 292.5 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.1192, allocations: 166.4 kB / 292.7 MB, free: 18.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.81e-05/0.1193, allocations: 34.38 kB / 292.7 MB, free: 18.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.123e-05/0.1193, allocations: 35.19 kB / 292.7 MB, free: 18.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.1194, allocations: 141.6 kB / 292.9 MB, free: 18.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.479e-05/0.1195, allocations: 129.6 kB / 293 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.1198, allocations: 322.8 kB / 293.3 MB, free: 18.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.1198, allocations: 1.094 kB / 293.3 MB, free: 18.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1198, allocations: 1.141 kB / 293.3 MB, free: 18.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1199, allocations: 0 / 293.3 MB, free: 18.13 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.0007152/0.1206, allocations: 0.7011 MB / 294 MB, free: 17.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.599e-05/0.1206, allocations: 9.469 kB / 294 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.584e-05/0.1207, allocations: 69.84 kB / 294.1 MB, free: 17.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.1211, allocations: 366.6 kB / 294.4 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.768e-05/0.1211, allocations: 84.48 kB / 294.5 MB, free: 17.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.1211, allocations: 45.94 kB / 294.6 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.1215, allocations: 377 kB / 294.9 MB, free: 17.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.1215, allocations: 11.09 kB / 294.9 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.1216, allocations: 17.42 kB / 295 MB, free: 17.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1216, allocations: 14.72 kB / 295 MB, free: 17.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.1218, allocations: 146.4 kB / 295.1 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.123, allocations: 1.532 MB / 296.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.1233, allocations: 218.5 kB / 296.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.488e-05/0.1234, allocations: 68.83 kB / 296.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.1234, allocations: 11.11 kB / 296.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.1235, allocations: 46.59 kB / 297 MB, free: 15.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.123e-06/0.1235, allocations: 3.938 kB / 297 MB, free: 15.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0002646/0.1237, allocations: 207.9 kB / 297.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.537e-05/0.1237, allocations: 55.58 kB / 297.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.1239, allocations: 353.9 kB / 297.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.124, allocations: 31.67 kB / 297.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.124, allocations: 238.2 kB / 297.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/0.1241, allocations: 134 kB / 298 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.049e-05/0.1242, allocations: 93.58 kB / 298.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.567e-05/0.1242, allocations: 365.3 kB / 298.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.1243, allocations: 49.39 kB / 298.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.835e-05/0.1244, allocations: 188.3 kB / 298.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.1247, allocations: 355 kB / 299 MB, free: 14.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1247, allocations: 1.438 kB / 299 MB, free: 14.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003042/0.125, allocations: 301.6 kB / 299.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.125, allocations: 10.66 kB / 299.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.125, allocations: 4.906 kB / 299.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.125, allocations: 9.984 kB / 299.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.1254, allocations: 146.3 kB / 299.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.1254, allocations: 7.344 kB / 299.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.1255, allocations: 54 kB / 299.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.1255, allocations: 18.06 kB / 299.6 MB, free: 14.2 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.0001295/0.1256, allocations: 162 kB / 299.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.1257, allocations: 38.38 kB / 299.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.126, allocations: 239.1 kB / 300 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.126, allocations: 4.312 kB / 300 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.126, allocations: 0 / 300 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.126, allocations: 2.062 kB / 300 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.1262, allocations: 226.1 kB / 300.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1262, allocations: 0.9062 kB / 300.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.1265, allocations: 122.1 kB / 300.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1266, allocations: 6.562 kB / 300.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.1266, allocations: 15.03 kB / 300.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1266, allocations: 1.656 kB / 300.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1266, allocations: 1.172 kB / 300.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.1269, allocations: 403.8 kB / 300.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.1269, allocations: 60.48 kB / 300.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.1269, allocations: 13.55 kB / 300.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.127, allocations: 11.25 kB / 300.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.127, allocations: 22.61 kB / 300.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.1271, allocations: 8.141 kB / 300.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.1272, allocations: 141.7 kB / 301 MB, free: 13.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1272, allocations: 0 / 301 MB, free: 13.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.1274, allocations: 82.66 kB / 301.1 MB, free: 13.47 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 7.089e-05/0.1275, allocations: 92.91 kB / 301.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.1277, allocations: 206.9 kB / 301.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.1277, allocations: 6.375 kB / 301.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.347e-05/0.1278, allocations: 104.7 kB / 301.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.128, allocations: 43.27 kB / 301.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008094/0.1288, allocations: 0.8495 MB / 302.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.647e-05/0.1289, allocations: 142.1 kB / 302.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.129, allocations: 54.45 kB / 302.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.1291, allocations: 113.6 kB / 302.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1291, allocations: 0 / 302.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of Templates: time 0.005048/0.1342, allocations: 2.894 MB / 305.6 MB, free: 11.42 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7108658850193024]