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.0006559/0.0006559, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009141/0.00157, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006733/0.0006733, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009008/0.001574, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1165/1.121, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.1154/0.1154, allocations: 19.79 MB / 263.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01669/0.1321, allocations: 7.553 MB / 271.5 MB, free: 3.359 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.472e-06/1.472e-06, allocations: 0 / 272.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.382e-05, allocations: 2.312 kB / 272.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.002021/0.002034, allocations: 1.728 MB / 274.5 MB, free: 332 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1647/0.1667, allocations: 0.6639 MB / 275.2 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.209e-05/0.1668, allocations: 8 kB / 275.2 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.167, allocations: 51.88 kB / 275.3 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.1671, allocations: 73.06 kB / 275.3 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.1675, allocations: 107.1 kB / 275.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.1677, allocations: 156.2 kB / 275.6 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.747e-05/0.1678, allocations: 15.91 kB / 275.6 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.168, allocations: 104.8 kB / 275.7 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.1681, allocations: 76.12 kB / 275.8 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.1682, allocations: 10.56 kB / 275.8 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.1683, allocations: 93.25 kB / 275.9 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.1684, allocations: 30.7 kB / 275.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.1685, allocations: 33.11 kB / 275.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.1687, allocations: 146.2 kB / 276.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.449e-05/0.1687, allocations: 0.5625 kB / 276.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1687, allocations: 1.312 kB / 276.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.1687, allocations: 0.8438 kB / 276.1 MB, free: 1.449 MB / 266.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.0005874/0.1693, allocations: 464.9 kB / 276.5 MB, free: 1.098 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1694, allocations: 9.281 kB / 276.5 MB, free: 1.098 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.1694, allocations: 18 kB / 276.6 MB, free: 1.098 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.1696, allocations: 166.4 kB / 276.7 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1696, allocations: 8.109 kB / 276.7 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.1696, allocations: 12.19 kB / 276.7 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.1698, allocations: 162 kB / 276.9 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1698, allocations: 1.25 kB / 276.9 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1698, allocations: 2.188 kB / 276.9 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1698, allocations: 7.062 kB / 276.9 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.854e-05/0.1699, allocations: 72.34 kB / 277 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.1702, allocations: 371.2 kB / 277.3 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.1704, allocations: 133.4 kB / 277.5 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.1704, allocations: 59.66 kB / 277.5 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1704, allocations: 2.844 kB / 277.5 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.1706, allocations: 164.3 kB / 277.7 MB, free: 232 kB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.763e-06/0.1706, allocations: 4.781 kB / 277.7 MB, free: 232 kB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002886/0.1709, allocations: 234.2 kB / 277.9 MB, free: 100 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.243e-05/0.171, allocations: 174.8 kB / 278.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1711, allocations: 177.7 kB / 278.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1711, allocations: 34.12 kB / 278.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.1712, allocations: 105.1 kB / 278.4 MB, free: 15.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.1712, allocations: 41.12 kB / 278.5 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.1713, allocations: 40.83 kB / 278.5 MB, free: 15.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.536e-05/0.1714, allocations: 332.2 kB / 278.8 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.1714, allocations: 57.06 kB / 278.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.1715, allocations: 94.62 kB / 279 MB, free: 15.22 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.1717, allocations: 223.9 kB / 279.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1717, allocations: 0 / 279.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001936/0.1719, allocations: 193.5 kB / 279.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.1719, allocations: 40.73 kB / 279.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1719, allocations: 1.281 kB / 279.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1719, allocations: 3.312 kB / 279.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/0.172, allocations: 32.34 kB / 279.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.172, allocations: 6.094 kB / 279.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.242e-05/0.1721, allocations: 18.2 kB / 279.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.1721, allocations: 4.5 kB / 279.5 MB, free: 14.93 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.0001544/0.1723, allocations: 182.7 kB / 279.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.1723, allocations: 23.16 kB / 279.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.1723, allocations: 18.11 kB / 279.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1723, allocations: 1.281 kB / 279.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1723, allocations: 1.188 kB / 279.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1723, allocations: 3.641 kB / 279.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.1727, allocations: 416.4 kB / 280.1 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1727, allocations: 2.875 kB / 280.1 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.1728, allocations: 14.89 kB / 280.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.1728, allocations: 19.33 kB / 280.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1728, allocations: 1.625 kB / 280.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1728, allocations: 3.109 kB / 280.2 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1728, allocations: 1.031 kB / 280.2 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1728, allocations: 0.6562 kB / 280.2 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.1732, allocations: 416 kB / 280.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.1732, allocations: 11.92 kB / 280.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.1733, allocations: 12.14 kB / 280.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.1733, allocations: 7.359 kB / 280.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.1733, allocations: 13.36 kB / 280.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.622e-05/0.1734, allocations: 53.48 kB / 280.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1734, allocations: 0 / 280.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002011/0.1736, allocations: 55.31 kB / 280.7 MB, free: 14.15 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.000181/0.1738, allocations: 121.2 kB / 280.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.174, allocations: 222.7 kB / 281 MB, free: 13.94 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.174, allocations: 3.016 kB / 281 MB, free: 13.94 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.1741, allocations: 156.8 kB / 281.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.1744, allocations: 214.1 kB / 281.4 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007267/0.1752, allocations: 347 kB / 281.7 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.798e-05/0.1752, allocations: 73.73 kB / 281.8 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.669e-05/0.1753, allocations: 9.219 kB / 281.8 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.1754, allocations: 80.62 kB / 281.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1754, allocations: 1.344 kB / 281.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of Templates: time 0.005988/0.1814, allocations: 2.688 MB / 284.6 MB, free: 13.02 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.855440375395119]