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.001669/0.001669, allocations: 78.02 kB / 21.27 MB, free: 0.5391 MB / 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.001976/0.001976, allocations: 163.1 kB / 24.54 MB, free: 3.836 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.449/1.449, allocations: 177.2 MB / 204.9 MB, free: 9.27 MB / 190.1 MB " [Timeout remaining time 178] 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.1385/0.1385, allocations: 19.72 MB / 281 MB, free: 13.04 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.002078/0.002078, allocations: 71.89 kB / 417.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2545, allocations: 60.44 MB / 478 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.002948/0.2574, allocations: 1.652 MB / 479.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2587, allocations: 0.6389 MB / 480.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/0.2588, allocations: 5 kB / 480.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.259, allocations: 52.45 kB / 480.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.2591, allocations: 63.38 kB / 480.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.2596, allocations: 114 kB / 480.6 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.2598, allocations: 163.5 kB / 480.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.552e-05/0.2599, allocations: 14.94 kB / 480.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.26, allocations: 96.56 kB / 480.8 MB, free: 13.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.2602, allocations: 100.8 kB / 480.9 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.2602, allocations: 9.625 kB / 480.9 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.2604, allocations: 79.39 kB / 481 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.368e-05/0.2604, allocations: 37.78 kB / 481.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.141e-05/0.2605, allocations: 50.06 kB / 481.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.2608, allocations: 192.2 kB / 481.3 MB, free: 13.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.2608, allocations: 5.219 kB / 481.3 MB, free: 13.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2608, allocations: 3.938 kB / 481.3 MB, free: 13.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2608, allocations: 0 / 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.0008003/0.2616, allocations: 463.8 kB / 481.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.2617, allocations: 9.875 kB / 481.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.566e-05/0.2617, allocations: 18.25 kB / 481.8 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.262, allocations: 167.3 kB / 481.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.2621, allocations: 8.938 kB / 482 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.2621, allocations: 14.28 kB / 482 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.2625, allocations: 205.8 kB / 482.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.2625, allocations: 1.219 kB / 482.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.2625, allocations: 1.625 kB / 482.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2625, allocations: 1.344 kB / 482.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002554/0.2628, allocations: 131.1 kB / 482.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000647/0.2634, allocations: 466.3 kB / 482.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.2638, allocations: 159.5 kB / 482.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.264, allocations: 120 kB / 483 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.264, allocations: 6.156 kB / 483 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003432/0.2643, allocations: 214.5 kB / 483.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.2643, allocations: 5.344 kB / 483.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009055/0.2652, allocations: 480 kB / 483.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.2653, allocations: 85.14 kB / 483.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.2655, allocations: 207.5 kB / 484 MB, free: 11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.2656, allocations: 30.7 kB / 484 MB, free: 10.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.2656, allocations: 124.3 kB / 484.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.2657, allocations: 41.83 kB / 484.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.406e-05/0.2658, allocations: 41.89 kB / 484.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2659, allocations: 333.1 kB / 484.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.2661, allocations: 111.6 kB / 484.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.2664, allocations: 154.2 kB / 484.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.2674, allocations: 495.6 kB / 485.3 MB, free: 9.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2674, allocations: 0 / 485.3 MB, free: 9.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006095/0.268, allocations: 370.3 kB / 485.7 MB, free: 9.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.268, allocations: 38.8 kB / 485.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.268, allocations: 5.203 kB / 485.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2681, allocations: 1 kB / 485.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.2682, allocations: 30.39 kB / 485.7 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2682, allocations: 5.438 kB / 485.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.2684, allocations: 26.25 kB / 485.8 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.2684, allocations: 11.19 kB / 485.8 MB, free: 9.676 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.0002162/0.2686, allocations: 184.9 kB / 486 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.2686, allocations: 18.03 kB / 486 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.2687, allocations: 23.39 kB / 486 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.2687, allocations: 5.125 kB / 486 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.2687, allocations: 1.062 kB / 486 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2687, allocations: 0 / 486 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.2697, allocations: 0.6488 MB / 486.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2697, allocations: 0 / 486.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.2697, allocations: 12.92 kB / 486.7 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2697, allocations: 5.312 kB / 486.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.2698, allocations: 2.75 kB / 486.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.2698, allocations: 5.438 kB / 486.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2698, allocations: 3.938 kB / 486.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.2708, allocations: 0.6449 MB / 487.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.2708, allocations: 15.89 kB / 487.4 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.2709, allocations: 11.98 kB / 487.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.271, allocations: 19.92 kB / 487.4 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.2711, allocations: 16.05 kB / 487.4 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.2711, allocations: 4 kB / 487.4 MB, free: 8.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.2713, allocations: 144.5 kB / 487.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2713, allocations: 0 / 487.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.2716, allocations: 59.92 kB / 487.6 MB, free: 8.285 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.0001937/0.2718, allocations: 127.7 kB / 487.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005884/0.2724, allocations: 334.6 kB / 488.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2724, allocations: 0 / 488.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.2727, allocations: 193 kB / 488.2 MB, free: 7.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.273, allocations: 35.11 kB / 488.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007383/0.2738, allocations: 393.8 kB / 488.7 MB, free: 7.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.2739, allocations: 115.6 kB / 488.8 MB, free: 7.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.974e-05/0.2739, allocations: 16.59 kB / 488.8 MB, free: 6.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.274, allocations: 12.5 kB / 488.8 MB, free: 6.98 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.274, allocations: 0 / 488.8 MB, free: 6.98 MB / 382.1 MB Notification: Performance of Templates: time 0.006265/0.2802, allocations: 2.468 MB / 491.3 MB, free: 4.539 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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.596843047998846] Failed to read output from testmodel.py, exit status != 0: 0.288732775952667 0.30357514599999996 0.039607524000000005 Calling exit ...