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.00101/0.00101, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001075/0.001075, allocations: 172.1 kB / 24.91 MB, free: 8.613 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 1.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.0965/0.0965, allocations: 19.75 MB / 281.6 MB, free: 9.152 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.463e-06/1.463e-06, allocations: 0 / 305.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.635e-05, allocations: 8.703 kB / 305.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.002296/0.002312, allocations: 1.675 MB / 306.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.003388, allocations: 0.6717 MB / 307.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.75e-05/0.003465, allocations: 0 / 307.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.003655, allocations: 46.38 kB / 307.6 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.789e-05/0.003743, allocations: 64.27 kB / 307.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.004225, allocations: 122 kB / 307.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.004453, allocations: 160 kB / 307.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.226e-05/0.004536, allocations: 20.72 kB / 307.9 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.004645, allocations: 92.2 kB / 308 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.004774, allocations: 83.16 kB / 308.1 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.004795, allocations: 11.94 kB / 308.1 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.004918, allocations: 75.28 kB / 308.2 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.004986, allocations: 37.92 kB / 308.2 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.00504, allocations: 34.06 kB / 308.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.005277, allocations: 178.8 kB / 308.4 MB, free: 10.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.005279, allocations: 0 / 308.4 MB, free: 10.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00528, allocations: 4 kB / 308.4 MB, free: 10.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.005283, allocations: 0 / 308.4 MB, free: 10.91 MB / 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.0004656/0.005749, allocations: 432.1 kB / 308.8 MB, free: 10.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.00578, allocations: 8.031 kB / 308.8 MB, free: 10.47 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.005822, allocations: 25.91 kB / 308.9 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.005991, allocations: 164.4 kB / 309 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.006005, allocations: 12.97 kB / 309 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.006024, allocations: 12.89 kB / 309.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.006204, allocations: 159.5 kB / 309.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.006212, allocations: 192 / 309.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.006223, allocations: 5.078 kB / 309.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.00623, allocations: 3.938 kB / 309.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.381e-05/0.006294, allocations: 74.08 kB / 309.3 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.006617, allocations: 362.2 kB / 309.6 MB, free: 9.648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.006735, allocations: 137.8 kB / 309.8 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.006783, allocations: 61.8 kB / 309.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.006796, allocations: 4 kB / 309.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.00695, allocations: 161.2 kB / 310 MB, free: 9.273 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.052e-06/0.006951, allocations: 0 / 310 MB, free: 9.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002326/0.007184, allocations: 225.9 kB / 310.2 MB, free: 9.051 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.007227, allocations: 86.94 kB / 310.3 MB, free: 8.949 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.007334, allocations: 178.8 kB / 310.5 MB, free: 8.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.007351, allocations: 33.7 kB / 310.5 MB, free: 8.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.007396, allocations: 100.4 kB / 310.6 MB, free: 8.629 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.007423, allocations: 47.81 kB / 310.7 MB, free: 8.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.007474, allocations: 41.69 kB / 310.7 MB, free: 8.535 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.154e-05/0.007555, allocations: 330.8 kB / 311 MB, free: 8.203 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.007596, allocations: 52.62 kB / 311.1 MB, free: 8.145 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.826e-05/0.007655, allocations: 92.95 kB / 311.2 MB, free: 8.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.007798, allocations: 213 kB / 311.4 MB, free: 7.797 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.007805, allocations: 0 / 311.4 MB, free: 7.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001548/0.007959, allocations: 192.8 kB / 311.6 MB, free: 7.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.007986, allocations: 37.69 kB / 311.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.007991, allocations: 0 / 311.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.008002, allocations: 0 / 311.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.261e-05/0.008074, allocations: 27.92 kB / 311.6 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.008079, allocations: 4 kB / 311.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.686e-05/0.008136, allocations: 23.88 kB / 311.7 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.008145, allocations: 4 kB / 311.7 MB, free: 7.488 MB / 282.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.0001321/0.008277, allocations: 175.3 kB / 311.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.0083, allocations: 19.92 kB / 311.9 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.008327, allocations: 13.81 kB / 311.9 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.008331, allocations: 7.984 kB / 311.9 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.008333, allocations: 0 / 311.9 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.008337, allocations: 0 / 311.9 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.008658, allocations: 414.8 kB / 312.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008659, allocations: 0 / 312.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.008691, allocations: 11.94 kB / 312.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.008694, allocations: 0 / 312.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.008706, allocations: 15.98 kB / 312.3 MB, free: 6.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.008707, allocations: 0 / 312.3 MB, free: 6.789 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.00871, allocations: 3.984 kB / 312.3 MB, free: 6.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.008968, allocations: 401.9 kB / 312.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.008984, allocations: 15.86 kB / 312.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.009006, allocations: 8 kB / 312.7 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.465e-05/0.00907, allocations: 11.98 kB / 312.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.0091, allocations: 11.92 kB / 312.7 MB, free: 6.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.009115, allocations: 8 kB / 312.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.124e-05/0.009156, allocations: 57.58 kB / 312.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009156, allocations: 4 kB / 312.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001838/0.00934, allocations: 55.92 kB / 312.9 MB, free: 6.188 MB / 282.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.0001345/0.009475, allocations: 112.3 kB / 313 MB, free: 6.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.009667, allocations: 219.5 kB / 313.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.009671, allocations: 0 / 313.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.399e-05/0.009765, allocations: 146.8 kB / 313.3 MB, free: 5.664 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.009957, allocations: 45.03 kB / 313.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.01034, allocations: 325.8 kB / 313.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.01039, allocations: 75.83 kB / 313.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.049e-05/0.01042, allocations: 12.64 kB / 313.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.36e-05/0.01051, allocations: 83.36 kB / 313.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01051, allocations: 0 / 313.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of Templates: time 0.004511/0.01502, allocations: 2.615 MB / 316.5 MB, free: 2.508 MB / 282.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.967046646401286]