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.0009352/0.0009352, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.00139/0.00139, allocations: 161 kB / 24.56 MB, free: 8 kB / 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 0.8483/0.8483, allocations: 177.1 MB / 205 MB, free: 5.605 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.09664/0.09664, allocations: 19.75 MB / 281.2 MB, free: 9.23 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.673e-06/1.673e-06, allocations: 0 / 358 MB, free: 6.605 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.828e-05, allocations: 6.25 kB / 358 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.002633/0.002651, allocations: 1.696 MB / 359.7 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.003739, allocations: 0.6544 MB / 360.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.597e-05/0.003815, allocations: 0 / 360.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.004017, allocations: 51.69 kB / 360.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.004247, allocations: 59.72 kB / 360.4 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.004706, allocations: 127.5 kB / 360.5 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.00494, allocations: 159.6 kB / 360.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.005035, allocations: 17.61 kB / 360.7 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.005165, allocations: 91.78 kB / 360.8 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.005325, allocations: 91.81 kB / 360.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.005355, allocations: 8 kB / 360.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.00549, allocations: 75.94 kB / 361 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.005555, allocations: 35.83 kB / 361 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.005622, allocations: 39.86 kB / 361.1 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.005897, allocations: 175.4 kB / 361.2 MB, free: 3.305 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.005899, allocations: 4 kB / 361.2 MB, free: 3.301 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.0059, allocations: 4 kB / 361.2 MB, free: 3.297 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.005904, allocations: 0 / 361.2 MB, free: 3.297 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.0006828/0.006587, allocations: 0.5421 MB / 361.8 MB, free: 2.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.00662, allocations: 8.031 kB / 361.8 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/0.006694, allocations: 32.8 kB / 361.8 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.006917, allocations: 173.7 kB / 362 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.006939, allocations: 8.375 kB / 362 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.00697, allocations: 12.38 kB / 362 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.007253, allocations: 178.4 kB / 362.2 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.007265, allocations: 8.125 kB / 362.2 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.007281, allocations: 384 / 362.2 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.00729, allocations: 3.938 kB / 362.2 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.007414, allocations: 73.67 kB / 362.3 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.007972, allocations: 0.595 MB / 362.9 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.008162, allocations: 112.7 kB / 363 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.625e-05/0.008258, allocations: 69.42 kB / 363 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.008274, allocations: 4 kB / 363 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.008485, allocations: 168.3 kB / 363.2 MB, free: 1.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.954e-06/0.008487, allocations: 0 / 363.2 MB, free: 1.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005248/0.009012, allocations: 322.6 kB / 363.5 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.00906, allocations: 81.11 kB / 363.6 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.009244, allocations: 249.6 kB / 363.8 MB, free: 432 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002716/0.009515, allocations: 33.7 kB / 363.9 MB, free: 392 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.887e-05/0.009604, allocations: 171.1 kB / 364 MB, free: 216 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.009646, allocations: 47.81 kB / 364.1 MB, free: 168 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.009714, allocations: 43.36 kB / 364.1 MB, free: 116 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.00986, allocations: 0.5001 MB / 364.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.861e-05/0.009958, allocations: 61.67 kB / 364.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.01007, allocations: 115.1 kB / 364.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.01034, allocations: 242.2 kB / 365 MB, free: 15.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01034, allocations: 0 / 365 MB, free: 15.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003554/0.0107, allocations: 264.7 kB / 365.3 MB, free: 14.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.01073, allocations: 37.69 kB / 365.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.01074, allocations: 0 / 365.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.01075, allocations: 3.984 kB / 365.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.01088, allocations: 27.98 kB / 365.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.01089, allocations: 4 kB / 365.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.672e-05/0.01098, allocations: 19.86 kB / 365.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.011, allocations: 8.125 kB / 365.4 MB, free: 14.74 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.0001656/0.01117, allocations: 214.2 kB / 365.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.01121, allocations: 31.86 kB / 365.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.01124, allocations: 13.81 kB / 365.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.01125, allocations: 4 kB / 365.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.01125, allocations: 3.984 kB / 365.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01126, allocations: 0 / 365.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006789/0.01194, allocations: 0.5921 MB / 366.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01194, allocations: 3.938 kB / 366.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.403e-05/0.01199, allocations: 4 kB / 366.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.012, allocations: 4 kB / 366.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.01202, allocations: 7.984 kB / 366.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.01202, allocations: 0 / 366.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01202, allocations: 0 / 366.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.01259, allocations: 0.5072 MB / 366.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.01262, allocations: 11.91 kB / 366.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.01265, allocations: 8 kB / 366.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.01279, allocations: 11.98 kB / 366.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.01283, allocations: 7.984 kB / 366.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.01286, allocations: 19.97 kB / 366.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.01297, allocations: 176.1 kB / 367 MB, free: 13.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01297, allocations: 0 / 367 MB, free: 13.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.0133, allocations: 59.88 kB / 367.1 MB, free: 12.96 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.0001676/0.01347, allocations: 127.2 kB / 367.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.0138, allocations: 250.1 kB / 367.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.0138, allocations: 0 / 367.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.01395, allocations: 148.8 kB / 367.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.01433, allocations: 50.88 kB / 367.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.0149, allocations: 340.4 kB / 368 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.706e-05/0.01496, allocations: 75.83 kB / 368 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.133e-05/0.015, allocations: 16.58 kB / 368.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.01503, allocations: 12.5 kB / 368.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01503, allocations: 4 kB / 368.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of Templates: time 0.004153/0.01919, allocations: 2.606 MB / 370.7 MB, free: 9.281 MB / 298.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.508013078942895]