Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00213/0.00213, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 207.6 MB / 232.8 MB, free: 10.99 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2984/0.2984, allocations: 49.52 MB / 334.4 MB, free: 4.672 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Examples.HRB.Simulators.TestPI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI") translateModel(ThermoPower.Examples.HRB.Simulators.TestPI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 64.52 kB / 474.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1118, allocations: 62.33 MB / 0.5239 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.003002/0.1148, allocations: 1.677 MB / 0.5256 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1161, allocations: 0.7137 MB / 0.5263 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.838e-05/0.1161, allocations: 0 / 0.5263 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.1163, allocations: 51.81 kB / 0.5263 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.1164, allocations: 59.72 kB / 0.5264 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.1169, allocations: 123.7 kB / 0.5265 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.1171, allocations: 163.6 kB / 0.5267 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.949e-05/0.1172, allocations: 25.36 kB / 0.5267 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1173, allocations: 71.75 kB / 0.5268 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.1175, allocations: 103.7 kB / 0.5269 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.1175, allocations: 12 kB / 0.5269 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1176, allocations: 79.92 kB / 0.5269 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.1177, allocations: 39.78 kB / 0.527 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.994e-05/0.1178, allocations: 67.55 kB / 0.527 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.1181, allocations: 199.2 kB / 0.5272 GB, free: 11.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1181, allocations: 0 / 0.5272 GB, free: 11.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1181, allocations: 0 / 0.5272 GB, free: 11.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1181, allocations: 4 kB / 0.5272 GB, free: 11.53 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007983/0.1189, allocations: 0.5136 MB / 0.5277 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1189, allocations: 11.89 kB / 0.5277 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.119, allocations: 28.78 kB / 0.5278 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1193, allocations: 228 kB / 0.528 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.1193, allocations: 4.375 kB / 0.528 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.1193, allocations: 12.38 kB / 0.528 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.1197, allocations: 168.5 kB / 0.5282 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1197, allocations: 4 kB / 0.5282 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1197, allocations: 3.938 kB / 0.5282 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1197, allocations: 0 / 0.5282 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.1199, allocations: 99.88 kB / 0.5283 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/0.1206, allocations: 0.5322 MB / 0.5288 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.1209, allocations: 130.5 kB / 0.5289 GB, free: 9.629 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.1211, allocations: 88.95 kB / 0.529 GB, free: 9.539 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.1211, allocations: 0 / 0.529 GB, free: 9.539 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003484/0.1215, allocations: 188.9 kB / 0.5292 GB, free: 9.336 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.1215, allocations: 3.938 kB / 0.5292 GB, free: 9.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008842/0.1224, allocations: 427.2 kB / 0.5296 GB, free: 8.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.1224, allocations: 81.11 kB / 0.5297 GB, free: 8.805 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.1226, allocations: 206.5 kB / 0.5299 GB, free: 8.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.1227, allocations: 25.7 kB / 0.5299 GB, free: 8.559 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/0.1228, allocations: 120.5 kB / 0.53 GB, free: 8.438 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.1228, allocations: 51.62 kB / 0.5301 GB, free: 8.387 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.1229, allocations: 41.7 kB / 0.5301 GB, free: 8.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.123, allocations: 330.8 kB / 0.5304 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.1232, allocations: 75.95 kB / 0.5305 GB, free: 7.934 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.1234, allocations: 124.2 kB / 0.5306 GB, free: 7.797 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009574/0.1244, allocations: 482.8 kB / 0.5311 GB, free: 7.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1244, allocations: 0 / 0.5311 GB, free: 7.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005669/0.1249, allocations: 331.6 kB / 0.5314 GB, free: 6.949 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.125, allocations: 41.59 kB / 0.5314 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.125, allocations: 3.938 kB / 0.5314 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.125, allocations: 4 kB / 0.5314 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.1252, allocations: 23.98 kB / 0.5314 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1252, allocations: 4 kB / 0.5315 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.1253, allocations: 27.98 kB / 0.5315 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1253, allocations: 11.94 kB / 0.5315 GB, free: 6.828 MB / 414.1 MB Warning: Assuming fixed start value for the following 1 variables: digitalPI.e_int:DISCRETE(start = digitalPI.CSstart / digitalPI.Kp * digitalPI.Ti fixed = true ) \"Integrated error\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (digitalPI.firstTrigger,$PRE.digitalPI.firstTrigger,digitalPI.sampleTrigger,$whenCondition1,$PRE.digitalPI.e_int,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,digitalPI.CS,digitalPI.CSwind,digitalPI.e_int_wind,digitalPI.e_int,digitalPI.e,$whenCondition2,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0002164/0.1255, allocations: 192.2 kB / 0.5317 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.1256, allocations: 19.91 kB / 0.5317 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.1256, allocations: 17.86 kB / 0.5317 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1256, allocations: 4 kB / 0.5317 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1256, allocations: 0 / 0.5317 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1256, allocations: 7.922 kB / 0.5317 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1266, allocations: 0.6911 MB / 0.5324 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.1266, allocations: 4 kB / 0.5324 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.1267, allocations: 7.984 kB / 0.5324 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1267, allocations: 0 / 0.5324 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.1267, allocations: 7.938 kB / 0.5324 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1267, allocations: 0 / 0.5324 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1267, allocations: 0 / 0.5324 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000942/0.1277, allocations: 0.5712 MB / 0.533 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.1277, allocations: 92.98 kB / 0.5331 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.1278, allocations: 7.984 kB / 0.5331 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.1279, allocations: 24.05 kB / 0.5331 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.128, allocations: 11.92 kB / 0.5331 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.128, allocations: 12 kB / 0.5331 GB, free: 5.043 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1281, allocations: 143.2 kB / 0.5333 GB, free: 4.902 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1281, allocations: 0 / 0.5333 GB, free: 4.902 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003223/0.1285, allocations: 63.88 kB / 0.5333 GB, free: 4.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 14 (digitalPI.sampleTrigger,$whenCondition1,$whenCondition2,digitalPI.firstTrigger,digitalPI.e,digitalPI.e_int,digitalPI.e_int_wind,digitalPI.CSwind,digitalPI.CS,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 7 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition2,digitalPI.e_int) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.0001958/0.1287, allocations: 123.1 kB / 0.5334 GB, free: 4.711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005235/0.1292, allocations: 271.1 kB / 0.5337 GB, free: 4.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1292, allocations: 0 / 0.5337 GB, free: 4.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.1294, allocations: 155.3 kB / 0.5338 GB, free: 4.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.1298, allocations: 35.97 kB / 0.5339 GB, free: 4.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007597/0.1306, allocations: 371.9 kB / 0.5342 GB, free: 3.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.131, allocations: 0.724 MB / 0.5349 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.577e-05/0.131, allocations: 16.59 kB / 0.5349 GB, free: 3.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.131, allocations: 11.44 kB / 0.535 GB, free: 3.07 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.131, allocations: 4 kB / 0.535 GB, free: 3.066 MB / 414.1 MB Notification: Performance of Templates: time 0.005967/0.137, allocations: 2.355 MB / 0.5373 GB, free: 0.7109 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.pipe ; mkfifo ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.pipe >> ../files/ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.sim & ./ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.053986179642379]