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.001943/0.001943, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002669/0.002669, allocations: 213.8 kB / 23.75 MB, free: 4.668 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.751/1.751, allocations: 230.6 MB / 257.5 MB, free: 8.039 MB / 206.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.2628/0.2628, allocations: 26.81 MB / 340.7 MB, free: 8.227 MB / 270.1 MB " [Timeout remaining time 179] 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 67.89 kB / 477.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6146/0.6167, allocations: 60.48 MB / 0.5252 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.004344/0.621, allocations: 1.679 MB / 0.5268 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.6227, allocations: 0.6958 MB / 0.5275 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.6228, allocations: 1.188 kB / 0.5275 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.6231, allocations: 58.73 kB / 0.5276 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.6232, allocations: 62.06 kB / 0.5276 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.6239, allocations: 112.5 kB / 0.5277 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.6242, allocations: 159.2 kB / 0.5279 GB, free: 8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.6244, allocations: 18.92 kB / 0.5279 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.6245, allocations: 81.05 kB / 0.528 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.6248, allocations: 98.53 kB / 0.5281 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.6249, allocations: 9.906 kB / 0.5281 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.6251, allocations: 91.58 kB / 0.5282 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.6252, allocations: 38.89 kB / 0.5282 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.6253, allocations: 64.78 kB / 0.5283 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004669/0.6258, allocations: 190.9 kB / 0.5284 GB, free: 7.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.6258, allocations: 0 / 0.5284 GB, free: 7.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.556e-06/0.6258, allocations: 0 / 0.5284 GB, free: 7.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.6258, allocations: 1.094 kB / 0.5284 GB, free: 7.766 MB / 382.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.006848/0.6327, allocations: 459.3 kB / 0.5289 GB, free: 7.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.6327, allocations: 9.438 kB / 0.5289 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.6328, allocations: 18.56 kB / 0.5289 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.6331, allocations: 169.9 kB / 0.5291 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.6331, allocations: 5.297 kB / 0.5291 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.6332, allocations: 11.81 kB / 0.5291 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.6336, allocations: 178.7 kB / 0.5293 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.6336, allocations: 0 / 0.5293 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.6337, allocations: 6.906 kB / 0.5293 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.6337, allocations: 1.188 kB / 0.5293 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.634, allocations: 95.58 kB / 0.5294 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007879/0.6347, allocations: 0.518 MB / 0.5299 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.6353, allocations: 125.9 kB / 0.53 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.6356, allocations: 86.67 kB / 0.5301 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.6356, allocations: 5.969 kB / 0.5301 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004762/0.6361, allocations: 182.3 kB / 0.5302 GB, free: 6.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.6361, allocations: 0.5 kB / 0.5302 GB, free: 6.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001407/0.6375, allocations: 425 kB / 0.5307 GB, free: 6.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.6376, allocations: 82.14 kB / 0.5307 GB, free: 6.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.6379, allocations: 209.6 kB / 0.5309 GB, free: 6.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.6379, allocations: 28.23 kB / 0.531 GB, free: 5.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.638, allocations: 119.5 kB / 0.5311 GB, free: 5.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.6381, allocations: 41.94 kB / 0.5311 GB, free: 5.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.232e-05/0.6382, allocations: 40.64 kB / 0.5312 GB, free: 5.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.6383, allocations: 334.8 kB / 0.5315 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.6385, allocations: 84.36 kB / 0.5316 GB, free: 5.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.6387, allocations: 122.2 kB / 0.5317 GB, free: 5.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.6399, allocations: 494.3 kB / 0.5321 GB, free: 5.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6399, allocations: 0 / 0.5321 GB, free: 5.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006872/0.6406, allocations: 328.6 kB / 0.5325 GB, free: 5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.085e-05/0.6407, allocations: 34.62 kB / 0.5325 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.6407, allocations: 5.656 kB / 0.5325 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.22e-05/0.6407, allocations: 3.031 kB / 0.5325 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.6409, allocations: 31.03 kB / 0.5325 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.6409, allocations: 1.938 kB / 0.5325 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.6411, allocations: 25.69 kB / 0.5326 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.6411, allocations: 6.875 kB / 0.5326 GB, free: 4.949 MB / 382.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.0004287/0.6415, allocations: 189.7 kB / 0.5327 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.6416, allocations: 18.55 kB / 0.5328 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.51e-05/0.6416, allocations: 21.28 kB / 0.5328 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.6416, allocations: 2.641 kB / 0.5328 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.6416, allocations: 0 / 0.5328 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.6416, allocations: 5.156 kB / 0.5328 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.6428, allocations: 0.6636 MB / 0.5334 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.6428, allocations: 4 kB / 0.5334 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.169e-05/0.6429, allocations: 5.172 kB / 0.5334 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.6429, allocations: 2.406 kB / 0.5334 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.6429, allocations: 9.109 kB / 0.5335 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.6429, allocations: 0.5625 kB / 0.5335 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6429, allocations: 0 / 0.5335 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.6441, allocations: 0.5757 MB / 0.534 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.6441, allocations: 26.25 kB / 0.534 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.6442, allocations: 9.25 kB / 0.534 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.6443, allocations: 18.27 kB / 0.5341 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.6444, allocations: 8.031 kB / 0.5341 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.6444, allocations: 11.97 kB / 0.5341 GB, free: 4.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001797/0.6446, allocations: 145.2 kB / 0.5342 GB, free: 3.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6446, allocations: 4.062 kB / 0.5342 GB, free: 3.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006128/0.6452, allocations: 54.91 kB / 0.5343 GB, free: 3.91 MB / 382.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.0003028/0.6455, allocations: 131.2 kB / 0.5344 GB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009109/0.6464, allocations: 271.6 kB / 0.5347 GB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6464, allocations: 4.25 kB / 0.5347 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.6468, allocations: 159.3 kB / 0.5348 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006199/0.6474, allocations: 35.02 kB / 0.5349 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.6486, allocations: 359.1 kB / 0.5352 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.6488, allocations: 0.729 MB / 0.5359 GB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.486e-05/0.6489, allocations: 12.52 kB / 0.5359 GB, free: 2.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.6489, allocations: 13.66 kB / 0.5359 GB, free: 2.652 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.6489, allocations: 0 / 0.5359 GB, free: 2.652 MB / 382.1 MB Notification: Performance of Templates: time 0.008071/0.657, allocations: 2.383 MB / 0.5383 GB, free: 2.172 MB / 382.1 MB " [Timeout remaining time 659] 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: 6.757463000714779] Failed to read output from testmodel.py, exit status != 0: 0.668785473331809 0.7003437450000001 0.062604003 Calling exit ...