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.001447/0.001447, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00157/0.00157, allocations: 157.7 kB / 24.27 MB, free: 172 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 1.475/1.475, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 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.1497/0.1497, allocations: 19.73 MB / 280.8 MB, free: 9.293 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.323e-06/1.323e-06, allocations: 0 / 357.2 MB, free: 6.977 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.638e-05, allocations: 6.25 kB / 357.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.003033/0.00306, allocations: 1.654 MB / 358.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.004398, allocations: 0.6309 MB / 359.5 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.004476, allocations: 4 kB / 359.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.00468, allocations: 51.69 kB / 359.5 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.00479, allocations: 55.8 kB / 359.6 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.005278, allocations: 127.5 kB / 359.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.005543, allocations: 163.6 kB / 359.9 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.551e-05/0.005628, allocations: 13.64 kB / 359.9 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.005795, allocations: 91.78 kB / 360 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.005975, allocations: 87.81 kB / 360.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.006009, allocations: 12 kB / 360.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.006159, allocations: 83.92 kB / 360.2 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.006231, allocations: 31.84 kB / 360.2 MB, free: 3.953 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.684e-05/0.006317, allocations: 47.83 kB / 360.2 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.006669, allocations: 207.3 kB / 360.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.006671, allocations: 0 / 360.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006672, allocations: 0 / 360.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.006676, allocations: 0 / 360.4 MB, free: 3.703 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.0008417/0.007518, allocations: 460.8 kB / 360.9 MB, free: 3.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.007549, allocations: 8.031 kB / 360.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.602e-05/0.007635, allocations: 32.8 kB / 360.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.007952, allocations: 166.9 kB / 361.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.007974, allocations: 8.375 kB / 361.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.008008, allocations: 8.375 kB / 361.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004236/0.008432, allocations: 202.4 kB / 361.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.008442, allocations: 192 / 361.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.008467, allocations: 8.375 kB / 361.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.008476, allocations: 11.86 kB / 361.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.008761, allocations: 129.6 kB / 361.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/0.009451, allocations: 456.7 kB / 361.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.009845, allocations: 160.1 kB / 362.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.01009, allocations: 118.5 kB / 362.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.01011, allocations: 12.05 kB / 362.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003992/0.01051, allocations: 214.6 kB / 362.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.01052, allocations: 0 / 362.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.00106/0.01158, allocations: 490.5 kB / 362.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.393e-05/0.01166, allocations: 89.09 kB / 363 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.01189, allocations: 202.6 kB / 363.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.01192, allocations: 25.7 kB / 363.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.01204, allocations: 128.3 kB / 363.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.01209, allocations: 35.84 kB / 363.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.481e-05/0.01217, allocations: 41.7 kB / 363.4 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.01238, allocations: 330.8 kB / 363.7 MB, free: 180 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.01261, allocations: 109.7 kB / 363.8 MB, free: 64 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.01293, allocations: 161.9 kB / 364 MB, free: 15.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.01403, allocations: 497.2 kB / 364.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01403, allocations: 0 / 364.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007587/0.01479, allocations: 368.8 kB / 364.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.01483, allocations: 41.72 kB / 364.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.01484, allocations: 4 kB / 364.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.01486, allocations: 0 / 364.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.01502, allocations: 31.98 kB / 364.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.01503, allocations: 0 / 364.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.01518, allocations: 27.88 kB / 364.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.0152, allocations: 4 kB / 364.9 MB, free: 14.87 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.0002412/0.01544, allocations: 196.6 kB / 365.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.01551, allocations: 31.86 kB / 365.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.01554, allocations: 13.81 kB / 365.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01555, allocations: 4 kB / 365.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.01555, allocations: 0 / 365.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.01556, allocations: 3.984 kB / 365.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.01667, allocations: 0.6495 MB / 365.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01667, allocations: 4 kB / 365.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.186e-05/0.01672, allocations: 11.94 kB / 365.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01673, allocations: 0 / 365.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.01675, allocations: 4 kB / 365.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01675, allocations: 0 / 365.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.01675, allocations: 3.984 kB / 365.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.01789, allocations: 0.6556 MB / 366.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.01792, allocations: 15.91 kB / 366.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.01797, allocations: 12.05 kB / 366.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.01813, allocations: 11.98 kB / 366.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.01818, allocations: 11.98 kB / 366.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.01821, allocations: 15.92 kB / 366.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.01837, allocations: 144.5 kB / 366.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01837, allocations: 0 / 366.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003491/0.01872, allocations: 51.94 kB / 366.8 MB, free: 12.94 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.0002229/0.01895, allocations: 131.2 kB / 366.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006569/0.0196, allocations: 346.5 kB / 367.2 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0196, allocations: 0 / 367.2 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.01992, allocations: 181 kB / 367.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.02032, allocations: 47.61 kB / 367.4 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008099/0.02113, allocations: 402.6 kB / 367.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.02127, allocations: 115.4 kB / 368 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.397e-05/0.02131, allocations: 4.656 kB / 368 MB, free: 11.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.02136, allocations: 16.5 kB / 368 MB, free: 11.62 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.02136, allocations: 0 / 368 MB, free: 11.62 MB / 298.7 MB Notification: Performance of Templates: time 0.006919/0.02827, allocations: 2.47 MB / 370.4 MB, free: 9.18 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=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: 4.460261609987356]