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.0008589/0.0008589, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0008574/0.0008574, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.8379/0.8379, allocations: 177.2 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] 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.0847/0.0847, allocations: 19.73 MB / 282.3 MB, free: 12.23 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 359.2 MB, free: 44.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.697e-06/9.859e-06, allocations: 4.062 kB / 359.2 MB, free: 44.16 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.001641/0.001651, allocations: 1.681 MB / 360.9 MB, free: 42.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006466/0.002298, allocations: 0.6546 MB / 361.5 MB, free: 42.33 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.002355, allocations: 6.656 kB / 361.5 MB, free: 42.33 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.002508, allocations: 44.7 kB / 361.6 MB, free: 42.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.991e-05/0.002567, allocations: 64.61 kB / 361.6 MB, free: 42.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.002881, allocations: 123.5 kB / 361.8 MB, free: 42.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.003036, allocations: 164 kB / 361.9 MB, free: 42.03 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.757e-05/0.003103, allocations: 11.7 kB / 361.9 MB, free: 42.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.632e-05/0.00319, allocations: 89.39 kB / 362 MB, free: 41.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.003303, allocations: 93.58 kB / 362.1 MB, free: 41.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.003321, allocations: 12 kB / 362.1 MB, free: 41.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.003408, allocations: 78.56 kB / 362.2 MB, free: 41.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.003451, allocations: 33.3 kB / 362.2 MB, free: 41.79 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.00349, allocations: 45.48 kB / 362.3 MB, free: 41.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.003649, allocations: 168.1 kB / 362.4 MB, free: 41.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-06/0.00365, allocations: 1.281 kB / 362.4 MB, free: 41.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.51e-07/0.003651, allocations: 0 / 362.4 MB, free: 41.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.926e-06/0.003654, allocations: 0 / 362.4 MB, free: 41.61 MB / 314.7 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.0003808/0.004034, allocations: 0.5569 MB / 363 MB, free: 41.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.36e-05/0.004058, allocations: 8.031 kB / 363 MB, free: 41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.004096, allocations: 24.8 kB / 363 MB, free: 40.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.004212, allocations: 180.5 kB / 363.2 MB, free: 40.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.004225, allocations: 4.375 kB / 363.2 MB, free: 40.78 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.004241, allocations: 12.36 kB / 363.2 MB, free: 40.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.004366, allocations: 169.1 kB / 363.4 MB, free: 40.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.004373, allocations: 4.125 kB / 363.4 MB, free: 40.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.004382, allocations: 4.375 kB / 363.4 MB, free: 40.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.004387, allocations: 5.312 kB / 363.4 MB, free: 40.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.715e-05/0.004434, allocations: 68.2 kB / 363.5 MB, free: 40.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.004684, allocations: 0.5753 MB / 364 MB, free: 39.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.876e-05/0.004773, allocations: 97.59 kB / 364.1 MB, free: 39.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.00481, allocations: 62.31 kB / 364.2 MB, free: 39.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.004821, allocations: 11.92 kB / 364.2 MB, free: 39.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.658e-05/0.004917, allocations: 158 kB / 364.4 MB, free: 39.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.004919, allocations: 0 / 364.4 MB, free: 39.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002525/0.005171, allocations: 303.5 kB / 364.7 MB, free: 39.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.005191, allocations: 85.11 kB / 364.7 MB, free: 39.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.122e-05/0.005263, allocations: 245.1 kB / 365 MB, free: 38.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.005272, allocations: 33.81 kB / 365 MB, free: 38.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.005311, allocations: 171 kB / 365.2 MB, free: 38.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.005331, allocations: 47.8 kB / 365.2 MB, free: 38.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.005369, allocations: 43.34 kB / 365.3 MB, free: 38.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.815e-05/0.005407, allocations: 0.5014 MB / 365.8 MB, free: 38.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.109e-05/0.005438, allocations: 57.61 kB / 365.8 MB, free: 37.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.116e-05/0.00548, allocations: 110.3 kB / 365.9 MB, free: 37.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.005584, allocations: 224 kB / 366.1 MB, free: 37.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.005586, allocations: 3.984 kB / 366.2 MB, free: 37.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001578/0.005744, allocations: 244.6 kB / 366.4 MB, free: 37.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.005762, allocations: 41.69 kB / 366.4 MB, free: 37.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.005766, allocations: 0 / 366.4 MB, free: 37.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.005773, allocations: 4 kB / 366.4 MB, free: 37.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.005844, allocations: 23.98 kB / 366.5 MB, free: 37.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.005847, allocations: 5.375 kB / 366.5 MB, free: 37.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.005901, allocations: 19.92 kB / 366.5 MB, free: 37.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.00591, allocations: 8 kB / 366.5 MB, free: 37.2 MB / 314.7 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 8.796e-05/0.005998, allocations: 209.4 kB / 366.7 MB, free: 36.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.006021, allocations: 31.8 kB / 366.7 MB, free: 36.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.142e-05/0.006042, allocations: 13.81 kB / 366.7 MB, free: 36.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006045, allocations: 4.625 kB / 366.7 MB, free: 36.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.006046, allocations: 3.984 kB / 366.8 MB, free: 36.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.00605, allocations: 4.812 kB / 366.8 MB, free: 36.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.00636, allocations: 0.5502 MB / 367.3 MB, free: 36.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.006361, allocations: 2.5 kB / 367.3 MB, free: 36.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.006388, allocations: 4 kB / 367.3 MB, free: 36.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.00639, allocations: 0 / 367.3 MB, free: 36.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.0064, allocations: 11.98 kB / 367.3 MB, free: 36.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.006401, allocations: 1.125 kB / 367.3 MB, free: 36.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006402, allocations: 4 kB / 367.3 MB, free: 36.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.00664, allocations: 488.7 kB / 367.8 MB, free: 35.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.006658, allocations: 17.25 kB / 367.8 MB, free: 35.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.006679, allocations: 0 / 367.8 MB, free: 35.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.006748, allocations: 19.98 kB / 367.8 MB, free: 35.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.00677, allocations: 8.516 kB / 367.9 MB, free: 35.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.006784, allocations: 12.16 kB / 367.9 MB, free: 35.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.665e-05/0.006821, allocations: 180 kB / 368 MB, free: 35.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006821, allocations: 0 / 368 MB, free: 35.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001888/0.00701, allocations: 59.88 kB / 368.1 MB, free: 35.51 MB / 314.7 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 9.546e-05/0.007105, allocations: 129.3 kB / 368.2 MB, free: 35.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.007247, allocations: 236.3 kB / 368.5 MB, free: 35.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.12e-07/0.007248, allocations: 4 kB / 368.5 MB, free: 35.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.717e-05/0.007305, allocations: 142.4 kB / 368.6 MB, free: 34.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.007514, allocations: 49.38 kB / 368.6 MB, free: 34.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.00781, allocations: 332.3 kB / 369 MB, free: 34.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.543e-05/0.007836, allocations: 75.83 kB / 369 MB, free: 34.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.39e-05/0.00786, allocations: 8.641 kB / 369.1 MB, free: 34.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.007936, allocations: 106.2 kB / 369.2 MB, free: 34.35 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007936, allocations: 0 / 369.2 MB, free: 34.35 MB / 314.7 MB Notification: Performance of Templates: time 0.003519/0.01146, allocations: 2.699 MB / 371.9 MB, free: 31.73 MB / 314.7 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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6836204822175205]