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.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.0009108/0.0009108, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0008732/0.0008732, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.733/0.733, allocations: 158.6 MB / 186.4 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.152/0.152, allocations: 36.34 MB / 275.1 MB, free: 10.65 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.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_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: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.244e-05, allocations: 9.828 kB / 353.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.001444/0.001457, allocations: 1.678 MB / 355.5 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006799/0.002137, allocations: 0.6785 MB / 356.2 MB, free: 1.055 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.935e-05/0.002196, allocations: 7.875 kB / 356.2 MB, free: 1.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.002361, allocations: 43.81 kB / 356.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.708e-05/0.002418, allocations: 71.59 kB / 356.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.002755, allocations: 119.7 kB / 356.4 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.002903, allocations: 167.5 kB / 356.6 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.139e-05/0.002974, allocations: 17.62 kB / 356.6 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.003046, allocations: 91.78 kB / 356.7 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.003155, allocations: 91.75 kB / 356.8 MB, free: 460 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.003174, allocations: 12 kB / 356.8 MB, free: 448 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.382e-05/0.003258, allocations: 79.92 kB / 356.8 MB, free: 368 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.003305, allocations: 27.91 kB / 356.9 MB, free: 340 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.003349, allocations: 43.84 kB / 356.9 MB, free: 296 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.003515, allocations: 171.4 kB / 357.1 MB, free: 124 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.003517, allocations: 4 kB / 357.1 MB, free: 120 kB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003517, allocations: 0 / 357.1 MB, free: 120 kB / 282.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.003521, allocations: 0 / 357.1 MB, free: 120 kB / 282.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.0005349/0.004056, allocations: 0.5576 MB / 357.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.004086, allocations: 8.031 kB / 357.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.004139, allocations: 20.84 kB / 357.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.004307, allocations: 176.2 kB / 357.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.004323, allocations: 8.375 kB / 357.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.004348, allocations: 24.22 kB / 357.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.004541, allocations: 167.6 kB / 358 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.004548, allocations: 192 / 358 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.004561, allocations: 8.375 kB / 358 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.004567, allocations: 3.938 kB / 358 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.563e-05/0.004643, allocations: 69.61 kB / 358.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.005053, allocations: 0.599 MB / 358.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.005182, allocations: 112.6 kB / 358.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.347e-05/0.005245, allocations: 73.36 kB / 358.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.005259, allocations: 4 kB / 358.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.005406, allocations: 163.4 kB / 359.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.005407, allocations: 0 / 359.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003703/0.005777, allocations: 326.6 kB / 359.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.005813, allocations: 81.22 kB / 359.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.00594, allocations: 257.5 kB / 359.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.005955, allocations: 33.7 kB / 359.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.006021, allocations: 167.2 kB / 359.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.00605, allocations: 43.69 kB / 359.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.006098, allocations: 47.36 kB / 360 MB, free: 12.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.006207, allocations: 0.504 MB / 360.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.772e-05/0.006264, allocations: 61.55 kB / 360.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.497e-05/0.006339, allocations: 112.1 kB / 360.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.00653, allocations: 246.5 kB / 360.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006532, allocations: 0 / 360.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002221/0.006754, allocations: 260.7 kB / 361.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.006777, allocations: 33.7 kB / 361.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006782, allocations: 0 / 361.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.006792, allocations: 0 / 361.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.00688, allocations: 31.92 kB / 361.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.006887, allocations: 7.984 kB / 361.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.711e-05/0.006944, allocations: 15.89 kB / 361.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.006957, allocations: 12 kB / 361.3 MB, free: 11.54 MB / 298.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 0.0001207/0.007078, allocations: 214.2 kB / 361.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.007106, allocations: 27.91 kB / 361.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.00713, allocations: 17.8 kB / 361.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.007132, allocations: 0 / 361.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.007134, allocations: 4 kB / 361.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.007137, allocations: 3.938 kB / 361.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.007591, allocations: 0.5826 MB / 362.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007592, allocations: 0 / 362.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.007627, allocations: 7.984 kB / 362.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007629, allocations: 4 kB / 362.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.007642, allocations: 8 kB / 362.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007643, allocations: 0 / 362.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007644, allocations: 0 / 362.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.008016, allocations: 0.5073 MB / 362.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.008034, allocations: 23.78 kB / 362.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.00806, allocations: 11.98 kB / 362.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.008131, allocations: 8 kB / 362.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.008166, allocations: 15.92 kB / 362.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.008185, allocations: 19.86 kB / 362.7 MB, free: 9.988 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.19e-05/0.008257, allocations: 180.2 kB / 362.9 MB, free: 9.812 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008257, allocations: 0 / 362.9 MB, free: 9.812 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.008452, allocations: 51.94 kB / 362.9 MB, free: 9.762 MB / 298.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 0.0001271/0.008579, allocations: 123.2 kB / 363.1 MB, free: 9.633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.008798, allocations: 242.3 kB / 363.3 MB, free: 9.367 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.008799, allocations: 0 / 363.3 MB, free: 9.367 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.008902, allocations: 157.3 kB / 363.4 MB, free: 9.191 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.00914, allocations: 47.75 kB / 363.5 MB, free: 9.148 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.009559, allocations: 347.5 kB / 363.8 MB, free: 8.777 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.009599, allocations: 75.83 kB / 363.9 MB, free: 8.684 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.633e-05/0.009625, allocations: 4.656 kB / 363.9 MB, free: 8.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.009651, allocations: 16.5 kB / 363.9 MB, free: 8.664 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009651, allocations: 0 / 363.9 MB, free: 8.664 MB / 298.7 MB Notification: Performance of Templates: time 0.004049/0.0137, allocations: 2.624 MB / 366.6 MB, free: 6.043 MB / 298.7 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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4845510441809893]