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.0009078/0.0009078, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00149/0.00149, allocations: 161 kB / 24.56 MB, free: 16 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.9127/0.9127, allocations: 177.1 MB / 205 MB, free: 5.586 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.09343/0.09343, allocations: 19.73 MB / 281.2 MB, free: 9.223 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.503e-06/1.503e-06, allocations: 0 / 358 MB, free: 6.602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.5e-05, allocations: 2.312 kB / 358 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.002066/0.002091, allocations: 1.688 MB / 359.6 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008319/0.002923, allocations: 0.6582 MB / 360.3 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.002992, allocations: 0 / 360.3 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.003185, allocations: 47.75 kB / 360.3 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.719e-05/0.003252, allocations: 67.66 kB / 360.4 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.00364, allocations: 123.6 kB / 360.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.003816, allocations: 159.6 kB / 360.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.437e-05/0.0039, allocations: 17.56 kB / 360.7 MB, free: 3.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.031e-05/0.00399, allocations: 87.84 kB / 360.8 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.004122, allocations: 91.81 kB / 360.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.004145, allocations: 8 kB / 360.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.004245, allocations: 79.88 kB / 361 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.004301, allocations: 35.89 kB / 361 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.554e-05/0.004357, allocations: 43.86 kB / 361 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.004587, allocations: 175.4 kB / 361.2 MB, free: 3.305 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.004589, allocations: 0 / 361.2 MB, free: 3.305 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.00459, allocations: 4 kB / 361.2 MB, free: 3.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.004595, allocations: 0 / 361.2 MB, free: 3.301 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.0005638/0.005159, allocations: 0.5421 MB / 361.8 MB, free: 2.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.005193, allocations: 8.031 kB / 361.8 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.005245, allocations: 28.8 kB / 361.8 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.005415, allocations: 177.7 kB / 362 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.005437, allocations: 8.375 kB / 362 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.005467, allocations: 8.375 kB / 362 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.005679, allocations: 182.9 kB / 362.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.005688, allocations: 4.188 kB / 362.2 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.005701, allocations: 8.297 kB / 362.2 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.00571, allocations: 3.938 kB / 362.2 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.294e-05/0.005793, allocations: 69.67 kB / 362.3 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.006242, allocations: 0.6067 MB / 362.9 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.00638, allocations: 104.7 kB / 363 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.128e-05/0.006451, allocations: 69.38 kB / 363 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.00647, allocations: 4 kB / 363 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.006638, allocations: 168.3 kB / 363.2 MB, free: 1.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.006639, allocations: 0 / 363.2 MB, free: 1.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004281/0.007067, allocations: 318.6 kB / 363.5 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.007109, allocations: 85.11 kB / 363.6 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.007253, allocations: 249.6 kB / 363.8 MB, free: 432 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.007268, allocations: 33.7 kB / 363.9 MB, free: 392 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.007347, allocations: 171.1 kB / 364 MB, free: 216 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.007384, allocations: 43.92 kB / 364.1 MB, free: 172 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.007436, allocations: 47.3 kB / 364.1 MB, free: 116 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.007567, allocations: 0.504 MB / 364.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.531e-05/0.007632, allocations: 65.67 kB / 364.7 MB, free: 15.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.066e-05/0.007713, allocations: 115.1 kB / 364.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.00791, allocations: 242.1 kB / 365 MB, free: 15.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.007913, allocations: 0 / 365 MB, free: 15.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002346/0.008148, allocations: 252.7 kB / 365.3 MB, free: 14.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.00818, allocations: 41.69 kB / 365.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.008185, allocations: 0 / 365.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.008201, allocations: 0 / 365.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.082e-05/0.008292, allocations: 23.98 kB / 365.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.008298, allocations: 4 kB / 365.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.925e-05/0.008367, allocations: 24.05 kB / 365.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.008379, allocations: 8 kB / 365.4 MB, free: 14.75 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.0001368/0.008516, allocations: 214.1 kB / 365.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.008549, allocations: 27.86 kB / 365.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.008582, allocations: 17.8 kB / 365.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.008585, allocations: 4 kB / 365.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.008589, allocations: 0 / 365.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.008592, allocations: 0 / 365.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.009086, allocations: 0.5957 MB / 366.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.009087, allocations: 4 kB / 366.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.009127, allocations: 8 kB / 366.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.009129, allocations: 0 / 366.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.009144, allocations: 7.984 kB / 366.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.009145, allocations: 0 / 366.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.009146, allocations: 0 / 366.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.009547, allocations: 0.5069 MB / 366.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/0.009564, allocations: 11.91 kB / 366.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.009587, allocations: 4 kB / 366.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.009665, allocations: 15.98 kB / 366.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.009702, allocations: 12.02 kB / 366.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.009723, allocations: 15.92 kB / 366.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.348e-05/0.009797, allocations: 172.2 kB / 367 MB, free: 13.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009797, allocations: 0 / 367 MB, free: 13.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.01001, allocations: 59.88 kB / 367.1 MB, free: 12.97 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.0001545/0.01017, allocations: 139.1 kB / 367.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002571/0.01042, allocations: 250.4 kB / 367.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01043, allocations: 0 / 367.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.01053, allocations: 153 kB / 367.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.01079, allocations: 50.45 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.0004549/0.01125, allocations: 336.4 kB / 368 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.59e-05/0.01129, allocations: 79.83 kB / 368 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.962e-05/0.01132, allocations: 8.641 kB / 368 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.01135, allocations: 12.5 kB / 368.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01135, allocations: 7.938 kB / 368.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of Templates: time 0.004224/0.01557, allocations: 2.464 MB / 370.5 MB, free: 9.414 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.8038175026886165]