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.001388/0.001388, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001465/0.001465, allocations: 224.3 kB / 23 MB, free: 4.914 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.06522/0.06522, allocations: 11.34 MB / 324.5 MB, free: 8.027 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.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: 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.002101/0.002101, allocations: 67.89 kB / 452.2 MB, free: 9.832 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1165, allocations: 56.07 MB / 0.4964 GB, free: 1.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.003709/0.1202, allocations: 2.147 MB / 0.4985 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.1222, allocations: 0.9946 MB / 0.4994 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.1224, allocations: 23.75 kB / 0.4995 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.1226, allocations: 91.28 kB / 0.4996 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.1228, allocations: 75.5 kB / 0.4996 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009834/0.1238, allocations: 355.2 kB / 0.5 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008264/0.1246, allocations: 0.6574 MB / 0.5006 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.1248, allocations: 72 kB / 0.5007 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.1251, allocations: 231.1 kB / 0.5009 GB, free: 13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.1254, allocations: 251 kB / 0.5011 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.235e-05/0.1255, allocations: 36 kB / 0.5012 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.1257, allocations: 99.94 kB / 0.5013 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.1259, allocations: 171.4 kB / 0.5014 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.1261, allocations: 182.8 kB / 0.5016 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006419/0.1267, allocations: 0.5366 MB / 0.5021 GB, free: 11.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1267, allocations: 0 / 0.5021 GB, free: 11.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1267, allocations: 0 / 0.5021 GB, free: 11.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1267, allocations: 0 / 0.5021 GB, free: 11.74 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.00151/0.1283, allocations: 0.8319 MB / 0.5029 GB, free: 10.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1283, allocations: 8.031 kB / 0.5029 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.1284, allocations: 64.52 kB / 0.503 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006766/0.1291, allocations: 379 kB / 0.5034 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.955e-05/0.1291, allocations: 41.38 kB / 0.5034 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/0.1292, allocations: 52.31 kB / 0.5035 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000904/0.1301, allocations: 0.5878 MB / 0.504 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.1302, allocations: 7.953 kB / 0.504 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/0.1302, allocations: 20 kB / 0.5041 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1302, allocations: 8 kB / 0.5041 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007393/0.131, allocations: 437.3 kB / 0.5045 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/0.1341, allocations: 1.979 MB / 0.5064 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005647/0.1346, allocations: 284.1 kB / 0.5067 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.1349, allocations: 194.5 kB / 0.5069 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.135, allocations: 7.984 kB / 0.5069 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000448/0.1354, allocations: 286.9 kB / 0.5072 GB, free: 6.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/0.1354, allocations: 0 / 0.5072 GB, free: 6.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.001114/0.1365, allocations: 0.6487 MB / 0.5078 GB, free: 5.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.1366, allocations: 85.11 kB / 0.5079 GB, free: 5.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005496/0.1372, allocations: 485.6 kB / 0.5083 GB, free: 5.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.1372, allocations: 33.7 kB / 0.5084 GB, free: 5.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.1375, allocations: 304.3 kB / 0.5087 GB, free: 4.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.1376, allocations: 138.9 kB / 0.5088 GB, free: 4.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.1378, allocations: 118.1 kB / 0.5089 GB, free: 4.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.138, allocations: 366.8 kB / 0.5092 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.1383, allocations: 198.8 kB / 0.5094 GB, free: 3.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.1388, allocations: 391.3 kB / 0.5098 GB, free: 3.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/0.1415, allocations: 1.105 MB / 0.5109 GB, free: 2.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.1415, allocations: 4 kB / 0.5109 GB, free: 2.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001318/0.1428, allocations: 0.7903 MB / 0.5117 GB, free: 1.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/0.1429, allocations: 37.7 kB / 0.5117 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.1429, allocations: 4.781 kB / 0.5117 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.1429, allocations: 15.98 kB / 0.5117 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.1434, allocations: 139.7 kB / 0.5119 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.568e-05/0.1434, allocations: 23.92 kB / 0.5119 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.1437, allocations: 67.59 kB / 0.5119 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.1437, allocations: 31.94 kB / 0.512 GB, free: 1.109 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.0004059/0.1441, allocations: 279.6 kB / 0.5122 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.299e-05/0.1442, allocations: 51.67 kB / 0.5123 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009981/0.1452, allocations: 0.5628 MB / 0.5128 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.1452, allocations: 4 kB / 0.5128 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.1452, allocations: 3.938 kB / 0.5128 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1452, allocations: 3.938 kB / 0.5128 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2158/0.361, allocations: 358.9 kB / 0.5132 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.361, allocations: 1.594 kB / 0.5132 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.3616, allocations: 78.23 kB / 0.5133 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3616, allocations: 2.5 kB / 0.5133 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/0.3616, allocations: 16.97 kB / 0.5133 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3616, allocations: 1.938 kB / 0.5133 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3616, allocations: 3.625 kB / 0.5133 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.3626, allocations: 0.7787 MB / 0.5141 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.3627, allocations: 51.22 kB / 0.5141 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.3628, allocations: 13.91 kB / 0.5141 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.3629, allocations: 16.31 kB / 0.5141 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.363, allocations: 23.7 kB / 0.5142 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.363, allocations: 20.23 kB / 0.5142 GB, free: 23.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002695/0.3633, allocations: 314.5 kB / 0.5145 GB, free: 22.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3633, allocations: 0 / 0.5145 GB, free: 22.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004712/0.3638, allocations: 121.2 kB / 0.5146 GB, free: 22.98 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.0001971/0.364, allocations: 148.2 kB / 0.5147 GB, free: 22.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007487/0.3647, allocations: 0.5727 MB / 0.5153 GB, free: 22.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3647, allocations: 1.281 kB / 0.5153 GB, free: 22.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.365, allocations: 280.5 kB / 0.5156 GB, free: 22.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.3653, allocations: 54.17 kB / 0.5156 GB, free: 22.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3667, allocations: 1.213 MB / 0.5168 GB, free: 22.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.3669, allocations: 298.5 kB / 0.5171 GB, free: 22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.367, allocations: 40.62 kB / 0.5171 GB, free: 21.99 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.367, allocations: 1.469 kB / 0.5171 GB, free: 21.99 MB / 382.1 MB Notification: Performance of Templates: time 0.01064/0.3777, allocations: 6.238 MB / 0.5232 GB, free: 21.54 MB / 382.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.661028848960996] Failed to read output from testmodel.py, exit status != 0: 0.38614358101040125 0.39770312900000004 0.268425152 Calling exit ...