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.00112/0.00112, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001147/0.001147, allocations: 171.5 kB / 24.91 MB, free: 8.789 MB / 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.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.1129/0.1129, allocations: 19.75 MB / 281.6 MB, free: 9.152 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 3.316e-06/3.316e-06, allocations: 0.7969 kB / 305.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.593e-05/3.924e-05, allocations: 5.359 kB / 305.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.004854/0.004893, allocations: 1.723 MB / 306.9 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.006689, allocations: 0.6673 MB / 307.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.006825, allocations: 5.312 kB / 307.6 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.007116, allocations: 46.78 kB / 307.6 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.007264, allocations: 60.16 kB / 307.7 MB, free: 11.47 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006778/0.007942, allocations: 111.5 kB / 307.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.008312, allocations: 159.6 kB / 308 MB, free: 11.26 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.008432, allocations: 25.94 kB / 308 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.008626, allocations: 83.25 kB / 308.1 MB, free: 11.17 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.008869, allocations: 88.55 kB / 308.2 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.008906, allocations: 8 kB / 308.2 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.009182, allocations: 91.58 kB / 308.3 MB, free: 11.03 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.444e-05/0.009276, allocations: 41.67 kB / 308.3 MB, free: 11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/0.009355, allocations: 37.7 kB / 308.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.009714, allocations: 171 kB / 308.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.009719, allocations: 0.6094 kB / 308.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.00972, allocations: 0 / 308.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.009727, allocations: 4 kB / 308.5 MB, free: 10.84 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.0007548/0.01048, allocations: 428.4 kB / 308.9 MB, free: 10.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.01053, allocations: 8.031 kB / 308.9 MB, free: 10.4 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/0.0106, allocations: 25.05 kB / 309 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.01086, allocations: 168.6 kB / 309.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.01089, allocations: 8.984 kB / 309.1 MB, free: 10.19 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.01092, allocations: 8.984 kB / 309.1 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.01119, allocations: 167.4 kB / 309.3 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.01121, allocations: 0.75 kB / 309.3 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.01122, allocations: 5.031 kB / 309.3 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.01123, allocations: 3.938 kB / 309.3 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.01134, allocations: 66.2 kB / 309.4 MB, free: 9.945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.01183, allocations: 370 kB / 309.7 MB, free: 9.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.012, allocations: 133.1 kB / 309.9 MB, free: 9.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.154e-05/0.01207, allocations: 58.78 kB / 309.9 MB, free: 9.371 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.01209, allocations: 4 kB / 309.9 MB, free: 9.367 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.01232, allocations: 164.9 kB / 310.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.974e-06/0.01232, allocations: 0 / 310.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.00035/0.01267, allocations: 225.9 kB / 310.3 MB, free: 8.973 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.01273, allocations: 89.16 kB / 310.4 MB, free: 8.867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.0129, allocations: 174.5 kB / 310.6 MB, free: 8.684 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002221/0.01313, allocations: 33.7 kB / 310.6 MB, free: 8.645 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.0132, allocations: 104.4 kB / 310.7 MB, free: 8.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.01324, allocations: 39.81 kB / 310.7 MB, free: 8.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.01331, allocations: 49.62 kB / 310.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.01344, allocations: 334.8 kB / 311.1 MB, free: 8.109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.657e-05/0.01351, allocations: 48.53 kB / 311.2 MB, free: 8.055 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.889e-05/0.0136, allocations: 93 kB / 311.3 MB, free: 7.945 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.01383, allocations: 210.4 kB / 311.5 MB, free: 7.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01384, allocations: 0 / 311.5 MB, free: 7.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002411/0.01408, allocations: 192.8 kB / 311.7 MB, free: 7.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.01412, allocations: 37.69 kB / 311.7 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.01413, allocations: 0 / 311.7 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.01414, allocations: 4 kB / 311.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.01426, allocations: 31.92 kB / 311.7 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.01427, allocations: 0 / 311.7 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.76e-05/0.01436, allocations: 15.89 kB / 311.7 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.01438, allocations: 11.98 kB / 311.7 MB, free: 7.395 MB / 282.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.0001909/0.01457, allocations: 166.2 kB / 311.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.01461, allocations: 27.91 kB / 311.9 MB, free: 7.191 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.482e-05/0.01465, allocations: 17.81 kB / 312 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01466, allocations: 3.938 kB / 312 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.01466, allocations: 0 / 312 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01467, allocations: 0 / 312 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.01518, allocations: 414.4 kB / 312.4 MB, free: 6.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.01519, allocations: 8 kB / 312.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.01524, allocations: 7.984 kB / 312.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01524, allocations: 0 / 312.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.01526, allocations: 4 kB / 312.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.01527, allocations: 4 kB / 312.4 MB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.01527, allocations: 7.922 kB / 312.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004178/0.01569, allocations: 401.5 kB / 312.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.01572, allocations: 15.86 kB / 312.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.01575, allocations: 11.98 kB / 312.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.01587, allocations: 8 kB / 312.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.01592, allocations: 11.98 kB / 312.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.01594, allocations: 7.984 kB / 312.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.487e-05/0.01601, allocations: 53.56 kB / 312.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01601, allocations: 32 / 312.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003416/0.01635, allocations: 55.94 kB / 312.9 MB, free: 6.105 MB / 282.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.0002125/0.01656, allocations: 128.2 kB / 313.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003199/0.01688, allocations: 213 kB / 313.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.01689, allocations: 4 kB / 313.3 MB, free: 5.734 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.01703, allocations: 141.9 kB / 313.4 MB, free: 5.574 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.01737, allocations: 38.97 kB / 313.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/0.01814, allocations: 338.6 kB / 313.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.945e-05/0.0182, allocations: 75.83 kB / 313.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.232e-05/0.01826, allocations: 8.641 kB / 313.9 MB, free: 5.074 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.0184, allocations: 83.36 kB / 314 MB, free: 4.992 MB / 282.7 MB Notification: Performance of SimCode: time 2.465e-06/0.0184, allocations: 0 / 314 MB, free: 4.992 MB / 282.7 MB Notification: Performance of Templates: time 0.00512/0.02352, allocations: 2.609 MB / 316.6 MB, free: 2.422 MB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.007093335967511]