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.001514/0.001514, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002195/0.002195, allocations: 196.6 kB / 23.72 MB, free: 4.492 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.716/1.716, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2811/0.2811, allocations: 26.85 MB / 340.8 MB, free: 7.965 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.002222/0.002222, allocations: 68.08 kB / 477.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7045/0.7067, allocations: 60.48 MB / 0.5251 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.00221/0.709, allocations: 1.64 MB / 0.5267 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008955/0.7098, allocations: 0.6385 MB / 0.5274 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.91e-05/0.7099, allocations: 6.125 kB / 0.5274 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.7101, allocations: 49.39 kB / 0.5274 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.583e-05/0.7101, allocations: 59.62 kB / 0.5275 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.7105, allocations: 128.2 kB / 0.5276 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.7107, allocations: 159.8 kB / 0.5277 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.7107, allocations: 21.56 kB / 0.5278 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.545e-05/0.7108, allocations: 66.39 kB / 0.5278 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.711, allocations: 96.22 kB / 0.5279 GB, free: 8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.711, allocations: 10.19 kB / 0.5279 GB, free: 8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.7111, allocations: 85.91 kB / 0.528 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.7112, allocations: 32.67 kB / 0.528 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.817e-05/0.7112, allocations: 47.72 kB / 0.5281 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.7115, allocations: 195.3 kB / 0.5283 GB, free: 7.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.7115, allocations: 5.125 kB / 0.5283 GB, free: 7.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.7115, allocations: 0 / 0.5283 GB, free: 7.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.7115, allocations: 0 / 0.5283 GB, free: 7.855 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.0005675/0.712, allocations: 460.8 kB / 0.5287 GB, free: 7.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.7121, allocations: 10.14 kB / 0.5287 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.7121, allocations: 25.03 kB / 0.5288 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.7123, allocations: 168.3 kB / 0.5289 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.7123, allocations: 12.95 kB / 0.5289 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.7124, allocations: 6.453 kB / 0.5289 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.7127, allocations: 205.5 kB / 0.5291 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.7127, allocations: 0 / 0.5291 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.7127, allocations: 2.938 kB / 0.5291 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.7127, allocations: 6.938 kB / 0.5291 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.7129, allocations: 122.7 kB / 0.5293 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.7133, allocations: 472.9 kB / 0.5297 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.7136, allocations: 155.1 kB / 0.5299 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.7139, allocations: 119.4 kB / 0.53 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.7139, allocations: 1.656 kB / 0.53 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.7142, allocations: 221.8 kB / 0.5302 GB, free: 6.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.7142, allocations: 0 / 0.5302 GB, free: 6.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008595/0.715, allocations: 491.5 kB / 0.5307 GB, free: 6.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.7151, allocations: 83.78 kB / 0.5307 GB, free: 6.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.7152, allocations: 205.7 kB / 0.5309 GB, free: 5.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.7152, allocations: 27.98 kB / 0.531 GB, free: 5.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.7153, allocations: 115.9 kB / 0.5311 GB, free: 5.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.7153, allocations: 46.14 kB / 0.5311 GB, free: 5.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.7154, allocations: 44.91 kB / 0.5312 GB, free: 5.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.7154, allocations: 334.6 kB / 0.5315 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.7156, allocations: 110 kB / 0.5316 GB, free: 5.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.7158, allocations: 154.6 kB / 0.5317 GB, free: 5.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007728/0.7165, allocations: 493.5 kB / 0.5322 GB, free: 4.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7165, allocations: 1.688 kB / 0.5322 GB, free: 4.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004611/0.717, allocations: 376.7 kB / 0.5326 GB, free: 4.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.717, allocations: 36.11 kB / 0.5326 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.717, allocations: 1.875 kB / 0.5326 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.717, allocations: 1.25 kB / 0.5326 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.7172, allocations: 35.17 kB / 0.5326 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.7172, allocations: 6.031 kB / 0.5326 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.7173, allocations: 23.39 kB / 0.5327 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.7173, allocations: 9.781 kB / 0.5327 GB, free: 4.73 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.0001369/0.7174, allocations: 182.3 kB / 0.5328 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.7175, allocations: 18.48 kB / 0.5329 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.7175, allocations: 18.42 kB / 0.5329 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.7175, allocations: 5.531 kB / 0.5329 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7175, allocations: 1.062 kB / 0.5329 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7175, allocations: 0.6094 kB / 0.5329 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007363/0.7182, allocations: 0.6517 MB / 0.5335 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.7182, allocations: 1.531 kB / 0.5335 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.951e-05/0.7183, allocations: 5.766 kB / 0.5335 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.7183, allocations: 1.281 kB / 0.5335 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.7183, allocations: 8.578 kB / 0.5335 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.7183, allocations: 5.156 kB / 0.5335 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7183, allocations: 3.938 kB / 0.5335 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007727/0.7191, allocations: 0.6484 MB / 0.5342 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.7191, allocations: 21.66 kB / 0.5342 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.7191, allocations: 4.688 kB / 0.5342 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.7193, allocations: 22.34 kB / 0.5342 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.7193, allocations: 15.94 kB / 0.5342 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.7193, allocations: 8.516 kB / 0.5342 GB, free: 3.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.847e-05/0.7194, allocations: 144.3 kB / 0.5344 GB, free: 3.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7194, allocations: 1.562 kB / 0.5344 GB, free: 3.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.7197, allocations: 55.48 kB / 0.5344 GB, free: 3.629 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.0001282/0.7198, allocations: 123 kB / 0.5346 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004565/0.7203, allocations: 334.7 kB / 0.5349 GB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.7203, allocations: 3.938 kB / 0.5349 GB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.7205, allocations: 190.3 kB / 0.5351 GB, free: 3.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.7208, allocations: 43.22 kB / 0.5351 GB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/0.7214, allocations: 388.3 kB / 0.5355 GB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.43e-05/0.7215, allocations: 113.4 kB / 0.5356 GB, free: 2.871 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.12e-05/0.7215, allocations: 13.81 kB / 0.5356 GB, free: 2.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.7215, allocations: 13.75 kB / 0.5356 GB, free: 2.859 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.7215, allocations: 0 / 0.5356 GB, free: 2.859 MB / 382.1 MB Notification: Performance of Templates: time 0.008739/0.7303, allocations: 2.567 MB / 0.5381 GB, free: 2.215 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.474501492455602] Failed to read output from testmodel.py, exit status != 0: 0.7408813070505857 0.793071219 0.0781814 Calling exit ...