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.001903/0.001903, allocations: 81.72 kB / 20.68 MB, free: 1.039 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.002282/0.002282, allocations: 169.1 kB / 23.96 MB, free: 4.164 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.443/1.443, allocations: 177.2 MB / 204.3 MB, free: 9.184 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.1431/0.1431, allocations: 19.73 MB / 280.4 MB, free: 12.91 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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 417 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.753e-05, allocations: 2.281 kB / 417 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.002869/0.002897, allocations: 1.643 MB / 418.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.004204, allocations: 0.6425 MB / 419.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.216e-05/0.004276, allocations: 4 kB / 419.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.004474, allocations: 47.75 kB / 419.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.004579, allocations: 59.73 kB / 419.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.005076, allocations: 127.5 kB / 419.6 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.005308, allocations: 159.5 kB / 419.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.756e-05/0.005396, allocations: 25.61 kB / 419.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.005536, allocations: 87.84 kB / 419.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.005704, allocations: 91.75 kB / 419.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.005736, allocations: 12 kB / 419.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.005881, allocations: 75.94 kB / 420 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.466e-05/0.005946, allocations: 31.89 kB / 420 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.431e-05/0.00602, allocations: 39.86 kB / 420.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.006344, allocations: 219.3 kB / 420.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006346, allocations: 0 / 420.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.006347, allocations: 0 / 420.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.006351, allocations: 4 kB / 420.3 MB, free: 13.26 MB / 350.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.0007988/0.00715, allocations: 456.8 kB / 420.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.007185, allocations: 12.03 kB / 420.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.007247, allocations: 20.8 kB / 420.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.007526, allocations: 174.8 kB / 420.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.007548, allocations: 8.375 kB / 421 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.007579, allocations: 8.375 kB / 421 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.007986, allocations: 198.4 kB / 421.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.007996, allocations: 192 / 421.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.008014, allocations: 4.312 kB / 421.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.008023, allocations: 7.938 kB / 421.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.008301, allocations: 129.6 kB / 421.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/0.0089, allocations: 456.7 kB / 421.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.009265, allocations: 164.1 kB / 421.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.009503, allocations: 122.5 kB / 422 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.009521, allocations: 0 / 422 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004306/0.009952, allocations: 214.7 kB / 422.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.009954, allocations: 0 / 422.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001041/0.01099, allocations: 486.5 kB / 422.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.01108, allocations: 85.11 kB / 422.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.01129, allocations: 210.3 kB / 423 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.01132, allocations: 33.7 kB / 423 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.66e-05/0.01141, allocations: 116.5 kB / 423.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/0.01145, allocations: 51.75 kB / 423.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.01154, allocations: 41.7 kB / 423.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.01168, allocations: 326.8 kB / 423.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.0119, allocations: 113.6 kB / 423.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.01215, allocations: 145.9 kB / 423.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.01319, allocations: 0.4889 MB / 424.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01319, allocations: 0 / 424.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000658/0.01385, allocations: 367.6 kB / 424.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.365e-05/0.01389, allocations: 37.69 kB / 424.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.0139, allocations: 4 kB / 424.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.01392, allocations: 8.125 kB / 424.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.01408, allocations: 39.91 kB / 424.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01408, allocations: 0 / 424.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.01428, allocations: 23.88 kB / 424.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.0143, allocations: 4 kB / 424.8 MB, free: 8.441 MB / 350.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.0002164/0.01451, allocations: 187.4 kB / 425 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.01455, allocations: 15.91 kB / 425 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.01459, allocations: 29.8 kB / 425 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.0146, allocations: 3.984 kB / 425 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.0146, allocations: 0 / 425 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.0146, allocations: 0 / 425 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.01564, allocations: 0.6495 MB / 425.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01564, allocations: 0 / 425.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.0157, allocations: 11.94 kB / 425.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.0157, allocations: 4 kB / 425.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.01572, allocations: 7.984 kB / 425.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01572, allocations: 4 kB / 425.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01573, allocations: 0 / 425.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.01679, allocations: 0.637 MB / 426.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.01682, allocations: 15.89 kB / 426.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.01686, allocations: 8 kB / 426.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.01702, allocations: 16.05 kB / 426.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.01706, allocations: 7.984 kB / 426.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.01709, allocations: 19.92 kB / 426.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.01729, allocations: 148.4 kB / 426.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01729, allocations: 0 / 426.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003295/0.01762, allocations: 55.94 kB / 426.6 MB, free: 6.535 MB / 350.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.0002328/0.01785, allocations: 131.6 kB / 426.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006335/0.01849, allocations: 338.5 kB / 427 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01849, allocations: 3.938 kB / 427 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.01879, allocations: 193 kB / 427.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.01919, allocations: 38.41 kB / 427.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007443/0.01993, allocations: 376.1 kB / 427.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.02005, allocations: 119.4 kB / 427.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.994e-05/0.02009, allocations: 12.61 kB / 427.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.02013, allocations: 12.5 kB / 427.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.02013, allocations: 0 / 427.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of Templates: time 0.006417/0.02654, allocations: 2.452 MB / 430.2 MB, free: 2.805 MB / 350.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 -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.417586155235767] Failed to read output from testmodel.py, exit status != 0: 0.03523172810673714 0.050049845 0.040559906 Calling exit ...