Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI.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.001722/0.001722, allocations: 77.78 kB / 21.28 MB, free: 0.5273 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.002105/0.002105, allocations: 161.9 kB / 24.55 MB, free: 3.828 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.406/1.406, allocations: 177.2 MB / 204.9 MB, free: 9.277 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1437/0.1437, allocations: 19.71 MB / 281 MB, free: 13.05 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Examples.HRB.Simulators.TestPI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI") translateModel(ThermoPower.Examples.HRB.Simulators.TestPI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI") [Timeout 660] "Notification: ThermoPower 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.002077/0.002077, allocations: 67.91 kB / 417.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2579, allocations: 60.45 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.002836/0.2607, allocations: 1.633 MB / 479.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.2619, allocations: 0.6432 MB / 480.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.262, allocations: 5.031 kB / 480.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.2622, allocations: 52.89 kB / 480.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.213e-05/0.2623, allocations: 58.36 kB / 480.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.2627, allocations: 126.9 kB / 480.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.263, allocations: 159.9 kB / 480.7 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.2631, allocations: 13.81 kB / 480.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.2632, allocations: 100.5 kB / 480.8 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.2634, allocations: 96.8 kB / 480.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.2634, allocations: 9.406 kB / 481 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.2635, allocations: 79.64 kB / 481 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.61e-05/0.2636, allocations: 38.64 kB / 481.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.652e-05/0.2637, allocations: 49.11 kB / 481.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.2639, allocations: 197.5 kB / 481.3 MB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2639, allocations: 0 / 481.3 MB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.264, allocations: 0 / 481.3 MB, free: 13.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.264, allocations: 0 / 481.3 MB, free: 13.21 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007961/0.2648, allocations: 468.4 kB / 481.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2648, allocations: 9.094 kB / 481.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.2648, allocations: 18.22 kB / 481.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.2652, allocations: 171.9 kB / 482 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.2652, allocations: 11.88 kB / 482 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.2652, allocations: 7.656 kB / 482 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.2656, allocations: 209.9 kB / 482.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2656, allocations: 0 / 482.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.2656, allocations: 6.484 kB / 482.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2656, allocations: 0.8438 kB / 482.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.2659, allocations: 135.1 kB / 482.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.2664, allocations: 454.1 kB / 482.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.2668, allocations: 163.1 kB / 482.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.267, allocations: 121.9 kB / 483 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.267, allocations: 1.094 kB / 483 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003423/0.2673, allocations: 214.8 kB / 483.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.874e-06/0.2673, allocations: 0 / 483.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009225/0.2683, allocations: 493.5 kB / 483.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.2683, allocations: 85.47 kB / 483.8 MB, free: 11.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.2685, allocations: 206 kB / 484 MB, free: 11.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.2686, allocations: 31.89 kB / 484.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/0.2686, allocations: 120 kB / 484.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.2687, allocations: 38.44 kB / 484.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-05/0.2688, allocations: 41.83 kB / 484.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.2689, allocations: 336.2 kB / 484.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.2691, allocations: 108.5 kB / 484.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.2694, allocations: 160.8 kB / 484.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009483/0.2703, allocations: 488.9 kB / 485.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2703, allocations: 0 / 485.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000603/0.2709, allocations: 373.5 kB / 485.7 MB, free: 9.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.271, allocations: 36.94 kB / 485.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.271, allocations: 6.406 kB / 485.7 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.271, allocations: 1.156 kB / 485.7 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.2711, allocations: 33.92 kB / 485.8 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2711, allocations: 6.156 kB / 485.8 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.2713, allocations: 22.44 kB / 485.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.2713, allocations: 14.19 kB / 485.8 MB, free: 9.691 MB / 382.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.0002331/0.2715, allocations: 185.2 kB / 486 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.2716, allocations: 26.12 kB / 486 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.2716, allocations: 15.56 kB / 486 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2716, allocations: 0 / 486 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2716, allocations: 1.125 kB / 486 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.2717, allocations: 20.58 kB / 486 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.2717, allocations: 11.44 kB / 486.1 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.2718, allocations: 17.23 kB / 486.1 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.2719, allocations: 8.422 kB / 486.1 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000757/0.2726, allocations: 484 kB / 486.6 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009988/0.2736, allocations: 0.7145 MB / 487.3 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002328/0.2738, allocations: 140.4 kB / 487.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.274, allocations: 148.4 kB / 487.5 MB, free: 8.398 MB / 382.1 MB Notification: Performance of Backend: time 5.01e-07/0.274, allocations: 4.062 kB / 487.6 MB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007362/0.2747, allocations: 297.9 kB / 487.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of SimCode: time 0.0009318/0.2757, allocations: 0.8136 MB / 488.7 MB, free: 7.207 MB / 382.1 MB Notification: Performance of Templates: time 0.006456/0.2821, allocations: 2.639 MB / 491.3 MB, free: 4.594 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.533017172943801] Failed to read output from testmodel.py, exit status != 0: 0.2906703189946711 0.306140126 0.038791042000000005 Calling exit ...