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.001438/0.001438, 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.001708/0.001708, 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.925/0.925, 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.03728/0.03728, allocations: 8.626 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.372e-06/1.372e-06, allocations: 0 / 288.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.184e-05, allocations: 6.312 kB / 288.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.1043/0.1044, allocations: 2.192 MB / 290.3 MB, free: 18.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.1059, allocations: 1.049 MB / 291.3 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.1061, allocations: 22.72 kB / 291.3 MB, free: 18.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.1063, allocations: 88.8 kB / 291.4 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.1064, allocations: 74.67 kB / 291.5 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009302/0.1073, allocations: 399.2 kB / 291.9 MB, free: 18.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005988/0.1079, allocations: 0.5482 MB / 292.4 MB, free: 18.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1081, allocations: 68.59 kB / 292.5 MB, free: 18.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003185/0.1084, allocations: 268.2 kB / 292.8 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.1087, allocations: 199.3 kB / 293 MB, free: 17.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.1088, allocations: 35.81 kB / 293 MB, free: 17.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.1089, allocations: 105 kB / 293.1 MB, free: 17.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.1091, allocations: 166 kB / 293.2 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.1092, allocations: 139.9 kB / 293.4 MB, free: 17.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.1096, allocations: 428.4 kB / 293.8 MB, free: 17.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1096, allocations: 0 / 293.8 MB, free: 17.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1096, allocations: 0.5 kB / 293.8 MB, free: 17.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.1097, allocations: 0.875 kB / 293.8 MB, free: 17.74 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.000918/0.1106, allocations: 0.7655 MB / 294.6 MB, free: 17.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.1106, allocations: 15 kB / 294.6 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.1107, allocations: 72.05 kB / 294.7 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.1111, allocations: 369.9 kB / 295 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.1111, allocations: 31.8 kB / 295 MB, free: 16.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.1112, allocations: 52.95 kB / 295.1 MB, free: 16.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.1116, allocations: 420.3 kB / 295.5 MB, free: 16.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.1116, allocations: 12.06 kB / 295.5 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.1116, allocations: 16.88 kB / 295.5 MB, free: 16.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1117, allocations: 17.44 kB / 295.6 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.1119, allocations: 184.1 kB / 295.7 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.1132, allocations: 1.587 MB / 297.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.1135, allocations: 207.8 kB / 297.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.549e-05/0.1136, allocations: 86.39 kB / 297.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.1136, allocations: 7.375 kB / 297.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.1137, allocations: 198.3 kB / 297.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 2.205e-06/0.1137, allocations: 0 / 297.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0003078/0.1141, allocations: 311.3 kB / 298.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.1141, allocations: 89.58 kB / 298.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.1143, allocations: 401.6 kB / 298.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1143, allocations: 32.36 kB / 298.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.377e-05/0.1144, allocations: 260.3 kB / 298.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.1145, allocations: 143.8 kB / 299 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.953e-05/0.1146, allocations: 115.7 kB / 299.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.897e-05/0.1146, allocations: 375.1 kB / 299.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.1147, allocations: 84.55 kB / 299.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1149, allocations: 271.6 kB / 299.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/0.1152, allocations: 0.5235 MB / 300.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1153, allocations: 3 kB / 300.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0004076/0.1157, allocations: 414.3 kB / 300.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.1157, allocations: 38.42 kB / 300.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.1157, allocations: 5.469 kB / 300.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1157, allocations: 15.92 kB / 300.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.116, allocations: 126.8 kB / 301 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.116, allocations: 11.36 kB / 301 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.1161, allocations: 64.28 kB / 301 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.1162, allocations: 23.08 kB / 301.1 MB, free: 12.97 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.0001832/0.1163, allocations: 229.8 kB / 301.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.1164, allocations: 41.02 kB / 301.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.1167, allocations: 298.2 kB / 301.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1167, allocations: 6.406 kB / 301.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1167, allocations: 1.969 kB / 301.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1167, allocations: 1.406 kB / 301.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.1169, allocations: 229.2 kB / 301.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1169, allocations: 6.516 kB / 301.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.1172, allocations: 71.64 kB / 301.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1172, allocations: 2.75 kB / 301.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.1172, allocations: 17.75 kB / 301.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1172, allocations: 9 kB / 302 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1172, allocations: 0.8125 kB / 302 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.1176, allocations: 433.6 kB / 302.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.1176, allocations: 48.3 kB / 302.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.1177, allocations: 17.77 kB / 302.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.1177, allocations: 13.86 kB / 302.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.1178, allocations: 23.42 kB / 302.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.1178, allocations: 5.906 kB / 302.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1179, allocations: 160.8 kB / 302.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1179, allocations: 3.469 kB / 302.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003029/0.1182, allocations: 125.8 kB / 302.8 MB, free: 12.12 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.0001626/0.1184, allocations: 132.5 kB / 302.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003102/0.1187, allocations: 358 kB / 303.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.1187, allocations: 7.844 kB / 303.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.1188, allocations: 191.8 kB / 303.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.119, allocations: 65.05 kB / 303.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009009/0.1199, allocations: 0.9869 MB / 304.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.889e-05/0.12, allocations: 152.9 kB / 304.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.1201, allocations: 50.73 kB / 304.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.1202, allocations: 121.4 kB / 304.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1202, allocations: 4 kB / 304.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of Templates: time 0.006277/0.1265, allocations: 3.925 MB / 308.7 MB, free: 8.059 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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.58915529306978]