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.001605/0.001605, allocations: 75.52 kB / 21.28 MB, free: 384 kB / 14.72 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.001765/0.001765, allocations: 163 kB / 24.53 MB, free: 3.59 MB / 14.72 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.392/1.392, allocations: 177.2 MB / 204.9 MB, free: 9.238 MB / 190.1 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.1367/0.1367, allocations: 19.71 MB / 281 MB, free: 13.02 MB / 270.1 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 67.89 kB / 417.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2953, allocations: 60.45 MB / 478 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.003048/0.2983, allocations: 1.641 MB / 479.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.2996, allocations: 0.6425 MB / 480.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/0.2997, allocations: 1.219 kB / 480.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.2999, allocations: 56.5 kB / 480.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.3, allocations: 59.11 kB / 480.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.3005, allocations: 118.5 kB / 480.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.3007, allocations: 158.9 kB / 480.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3008, allocations: 14.94 kB / 480.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.301, allocations: 104.6 kB / 480.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.3012, allocations: 96.59 kB / 480.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.3012, allocations: 9.719 kB / 480.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.3013, allocations: 79.25 kB / 481 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.3014, allocations: 33.69 kB / 481 MB, free: 13.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.3015, allocations: 50.03 kB / 481.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.3018, allocations: 197.3 kB / 481.3 MB, free: 13.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3018, allocations: 0 / 481.3 MB, free: 13.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3018, allocations: 3.938 kB / 481.3 MB, free: 13.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3018, allocations: 1.438 kB / 481.3 MB, free: 13.18 MB / 382.1 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.0008137/0.3026, allocations: 460.2 kB / 481.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3027, allocations: 10.09 kB / 481.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.3027, allocations: 17.44 kB / 481.8 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.303, allocations: 176.5 kB / 481.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.3031, allocations: 8.625 kB / 482 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.3031, allocations: 13.89 kB / 482 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/0.3036, allocations: 205.7 kB / 482.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3036, allocations: 0 / 482.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.3036, allocations: 5.359 kB / 482.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3036, allocations: 2.406 kB / 482.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.3038, allocations: 121.9 kB / 482.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007094/0.3046, allocations: 470.5 kB / 482.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.3049, allocations: 163.3 kB / 482.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.3051, allocations: 117.7 kB / 483 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.3052, allocations: 1.125 kB / 483 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003811/0.3055, allocations: 218.5 kB / 483.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.3055, allocations: 3.938 kB / 483.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009836/0.3065, allocations: 485.8 kB / 483.7 MB, free: 11.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/0.3067, allocations: 85.34 kB / 483.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.307, allocations: 205.8 kB / 484 MB, free: 10.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.307, allocations: 31.86 kB / 484 MB, free: 10.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.3071, allocations: 120.5 kB / 484.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/0.3072, allocations: 41.88 kB / 484.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.801e-05/0.3073, allocations: 41.2 kB / 484.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002907/0.3076, allocations: 333.3 kB / 484.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.3079, allocations: 112.2 kB / 484.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.3081, allocations: 161.1 kB / 484.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.3092, allocations: 491.6 kB / 485.3 MB, free: 9.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3092, allocations: 1 kB / 485.3 MB, free: 9.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000624/0.3098, allocations: 366.2 kB / 485.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.337e-05/0.3099, allocations: 45.47 kB / 485.7 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3099, allocations: 1.219 kB / 485.7 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3099, allocations: 6.438 kB / 485.7 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3101, allocations: 25.89 kB / 485.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3101, allocations: 2.469 kB / 485.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.3102, allocations: 21.78 kB / 485.8 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.3102, allocations: 13.66 kB / 485.8 MB, free: 9.668 MB / 382.1 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.0002319/0.3105, allocations: 191.8 kB / 486 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.3105, allocations: 18.38 kB / 486 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.3105, allocations: 19.41 kB / 486 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3105, allocations: 2.281 kB / 486 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3105, allocations: 0 / 486 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.3106, allocations: 5.141 kB / 486 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009941/0.3115, allocations: 0.6522 MB / 486.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3116, allocations: 0 / 486.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.3116, allocations: 4.469 kB / 486.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3116, allocations: 5.094 kB / 486.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.3116, allocations: 7.406 kB / 486.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3116, allocations: 1.156 kB / 486.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3116, allocations: 3.938 kB / 486.7 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3126, allocations: 0.6481 MB / 487.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.3127, allocations: 23.88 kB / 487.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.3127, allocations: 4 kB / 487.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.3129, allocations: 23.98 kB / 487.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.3129, allocations: 7.984 kB / 487.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.3129, allocations: 11.98 kB / 487.4 MB, free: 8.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.3131, allocations: 144.5 kB / 487.5 MB, free: 8.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3131, allocations: 0 / 487.5 MB, free: 8.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003259/0.3134, allocations: 51.94 kB / 487.6 MB, free: 8.289 MB / 382.1 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.0001958/0.3136, allocations: 131.7 kB / 487.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005882/0.3142, allocations: 346.9 kB / 488.1 MB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3142, allocations: 0 / 488.1 MB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.3145, allocations: 185 kB / 488.2 MB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3148, allocations: 39.72 kB / 488.3 MB, free: 7.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007761/0.3156, allocations: 422.9 kB / 488.7 MB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.3157, allocations: 111.5 kB / 488.8 MB, free: 6.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.3158, allocations: 16.5 kB / 488.8 MB, free: 6.949 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3158, allocations: 0 / 488.8 MB, free: 6.949 MB / 382.1 MB Notification: Performance of Templates: time 0.004858/0.3206, allocations: 2.38 MB / 491.2 MB, free: 4.57 MB / 382.1 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.190306781791151] Failed to read output from testmodel.py, exit status != 0: 0.33052411093376577 0.345218317 0.040214873000000005 Calling exit ...