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.001303/0.001303, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00162/0.00162, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 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.7875/0.7875, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.1651/0.1651, allocations: 36.34 MB / 275.4 MB, free: 10.48 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.172e-06/1.172e-06, allocations: 0 / 354.2 MB, free: 3.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.762e-05, allocations: 2.312 kB / 354.2 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.001625/0.001643, allocations: 1.673 MB / 355.9 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007095/0.002353, allocations: 0.6746 MB / 356.6 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.00242, allocations: 4 kB / 356.6 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.002581, allocations: 55.73 kB / 356.7 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.5e-05/0.002636, allocations: 59.67 kB / 356.7 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.002971, allocations: 123.6 kB / 356.8 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.003112, allocations: 163.5 kB / 357 MB, free: 408 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.194e-05/0.003184, allocations: 13.62 kB / 357 MB, free: 388 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.003e-05/0.003264, allocations: 95.78 kB / 357.1 MB, free: 292 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.00337, allocations: 91.81 kB / 357.2 MB, free: 200 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.003388, allocations: 8 kB / 357.2 MB, free: 192 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.439e-05/0.003473, allocations: 75.94 kB / 357.3 MB, free: 116 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.003518, allocations: 39.83 kB / 357.3 MB, free: 76 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.003554, allocations: 43.84 kB / 357.4 MB, free: 32 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.003753, allocations: 171.4 kB / 357.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003754, allocations: 0 / 357.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.003755, allocations: 0 / 357.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.003758, allocations: 0 / 357.5 MB, free: 15.86 MB / 298.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.0004764/0.004234, allocations: 0.5576 MB / 358.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.004265, allocations: 12.03 kB / 358.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.004307, allocations: 20.84 kB / 358.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.004453, allocations: 180.1 kB / 358.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.00447, allocations: 4.375 kB / 358.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.004488, allocations: 12.36 kB / 358.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.004652, allocations: 163.6 kB / 358.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.00466, allocations: 4.125 kB / 358.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-06/0.004669, allocations: 8.375 kB / 358.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.004675, allocations: 3.938 kB / 358.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.563e-05/0.00473, allocations: 65.17 kB / 358.5 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.005083, allocations: 0.5722 MB / 359.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.985e-05/0.005183, allocations: 100.7 kB / 359.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.005227, allocations: 65.47 kB / 359.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.005243, allocations: 11.88 kB / 359.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.005367, allocations: 160.3 kB / 359.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.005369, allocations: 0 / 359.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003019/0.005671, allocations: 305.5 kB / 359.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.005702, allocations: 81.11 kB / 359.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.005812, allocations: 249.5 kB / 360.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.005829, allocations: 33.7 kB / 360.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.00589, allocations: 167.2 kB / 360.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.005917, allocations: 47.66 kB / 360.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.005963, allocations: 43.34 kB / 360.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.006073, allocations: 0.504 MB / 360.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.093e-05/0.006114, allocations: 53.55 kB / 360.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.955e-05/0.006174, allocations: 119.9 kB / 361 MB, free: 12.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.006312, allocations: 223.4 kB / 361.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006314, allocations: 0 / 361.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001911/0.006505, allocations: 247.1 kB / 361.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.00653, allocations: 37.69 kB / 361.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.006534, allocations: 4.125 kB / 361.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.006546, allocations: 4 kB / 361.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.006616, allocations: 23.98 kB / 361.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.006619, allocations: 0 / 361.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.615e-05/0.006675, allocations: 27.81 kB / 361.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.006685, allocations: 8 kB / 361.6 MB, free: 11.41 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.000126/0.006811, allocations: 210.2 kB / 361.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.006835, allocations: 27.84 kB / 361.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.006862, allocations: 25.8 kB / 361.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.006866, allocations: 4 kB / 361.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.006867, allocations: 0 / 361.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.00687, allocations: 0 / 361.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.007254, allocations: 0.5402 MB / 362.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007256, allocations: 0 / 362.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.007285, allocations: 7.938 kB / 362.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.007287, allocations: 0 / 362.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.007299, allocations: 11.98 kB / 362.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.007301, allocations: 0 / 362.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.007302, allocations: 3.984 kB / 362.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.007609, allocations: 0.4956 MB / 362.9 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.007626, allocations: 23.8 kB / 362.9 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.007645, allocations: 4 kB / 362.9 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.007712, allocations: 11.98 kB / 362.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.007737, allocations: 7.984 kB / 363 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.007753, allocations: 15.98 kB / 363 MB, free: 9.934 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.991e-05/0.007813, allocations: 168.1 kB / 363.1 MB, free: 9.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007813, allocations: 0 / 363.1 MB, free: 9.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.008002, allocations: 59.92 kB / 363.2 MB, free: 9.711 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.0001226/0.008125, allocations: 127.3 kB / 363.3 MB, free: 9.578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.008303, allocations: 238.1 kB / 363.5 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.008304, allocations: 4 kB / 363.6 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.528e-05/0.008379, allocations: 137.4 kB / 363.7 MB, free: 9.156 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.008599, allocations: 40.12 kB / 363.7 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.008977, allocations: 335.8 kB / 364.1 MB, free: 8.758 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.88e-05/0.009015, allocations: 87.77 kB / 364.1 MB, free: 8.652 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.708e-05/0.009042, allocations: 8.641 kB / 364.1 MB, free: 8.645 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.43e-05/0.009137, allocations: 106.2 kB / 364.3 MB, free: 8.539 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009137, allocations: 0 / 364.3 MB, free: 8.539 MB / 298.7 MB Notification: Performance of Templates: time 0.003932/0.01307, allocations: 2.671 MB / 366.9 MB, free: 5.875 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.559805041179061]