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.001577/0.001577, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001753/0.001753, allocations: 210 kB / 24.48 MB, free: 3.938 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.426/1.426, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.1543/0.1543, allocations: 26.84 MB / 341.5 MB, free: 7.977 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: 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.002241/0.002241, allocations: 67.91 kB / 478 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3049, allocations: 60.48 MB / 0.5259 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.002488/0.3074, allocations: 1.639 MB / 0.5275 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3085, allocations: 0.6431 MB / 0.5281 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.665e-05/0.3085, allocations: 1.125 kB / 0.5281 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.3087, allocations: 59.33 kB / 0.5282 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.363e-05/0.3088, allocations: 56.39 kB / 0.5282 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.3092, allocations: 122.5 kB / 0.5283 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.3094, allocations: 153.5 kB / 0.5285 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.515e-05/0.3095, allocations: 20.2 kB / 0.5285 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.3096, allocations: 77.95 kB / 0.5286 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.3097, allocations: 94.94 kB / 0.5287 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.3098, allocations: 9.812 kB / 0.5287 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.3099, allocations: 82.56 kB / 0.5287 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.31, allocations: 32.05 kB / 0.5288 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.31, allocations: 56.75 kB / 0.5288 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.3103, allocations: 192.4 kB / 0.529 GB, free: 7.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3103, allocations: 4 kB / 0.529 GB, free: 7.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3103, allocations: 1.094 kB / 0.529 GB, free: 7.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3103, allocations: 4 kB / 0.529 GB, free: 7.762 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.0005928/0.3109, allocations: 455.8 kB / 0.5295 GB, free: 7.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.3109, allocations: 10.34 kB / 0.5295 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.311, allocations: 17.28 kB / 0.5295 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.3112, allocations: 171.9 kB / 0.5297 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.3112, allocations: 8.656 kB / 0.5297 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.3113, allocations: 7.234 kB / 0.5297 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.3116, allocations: 209.4 kB / 0.5299 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3116, allocations: 1.094 kB / 0.5299 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.3116, allocations: 5.75 kB / 0.5299 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3116, allocations: 2.25 kB / 0.5299 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.3119, allocations: 127.1 kB / 0.53 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.3124, allocations: 465.9 kB / 0.5304 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.3127, allocations: 162.5 kB / 0.5306 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.3129, allocations: 119.3 kB / 0.5307 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.313, allocations: 2.375 kB / 0.5307 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003818/0.3134, allocations: 213 kB / 0.5309 GB, free: 6.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.763e-06/0.3134, allocations: 0.5 kB / 0.5309 GB, free: 6.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009361/0.3143, allocations: 493 kB / 0.5314 GB, free: 6.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.3143, allocations: 86.17 kB / 0.5315 GB, free: 5.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.3145, allocations: 202.6 kB / 0.5317 GB, free: 5.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3145, allocations: 32.02 kB / 0.5317 GB, free: 5.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.3146, allocations: 116 kB / 0.5318 GB, free: 5.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.3146, allocations: 41.64 kB / 0.5318 GB, free: 5.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.3146, allocations: 41.53 kB / 0.5319 GB, free: 5.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.3147, allocations: 337.8 kB / 0.5322 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.3149, allocations: 109.9 kB / 0.5323 GB, free: 5.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.3151, allocations: 160.2 kB / 0.5325 GB, free: 5.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008398/0.3159, allocations: 489.8 kB / 0.5329 GB, free: 4.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3159, allocations: 0 / 0.5329 GB, free: 4.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005138/0.3164, allocations: 369.7 kB / 0.5333 GB, free: 4.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.3164, allocations: 40.47 kB / 0.5333 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3164, allocations: 1.875 kB / 0.5333 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3165, allocations: 2.656 kB / 0.5333 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.3166, allocations: 27.03 kB / 0.5333 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3166, allocations: 5.984 kB / 0.5334 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.3167, allocations: 30.09 kB / 0.5334 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.3167, allocations: 6 kB / 0.5334 GB, free: 4.648 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.0001543/0.3169, allocations: 190.2 kB / 0.5336 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.3169, allocations: 18.72 kB / 0.5336 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.317, allocations: 17.94 kB / 0.5336 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.317, allocations: 1.281 kB / 0.5336 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.317, allocations: 1.312 kB / 0.5336 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.317, allocations: 0.7031 kB / 0.5336 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007969/0.3178, allocations: 0.659 MB / 0.5343 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3178, allocations: 1.281 kB / 0.5343 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.3178, allocations: 9.922 kB / 0.5343 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3178, allocations: 0 / 0.5343 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.3179, allocations: 9.625 kB / 0.5343 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.3179, allocations: 1 kB / 0.5343 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3179, allocations: 4.453 kB / 0.5343 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000817/0.3187, allocations: 0.645 MB / 0.5349 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.3187, allocations: 18.02 kB / 0.5349 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.3187, allocations: 4.453 kB / 0.5349 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.3189, allocations: 22.45 kB / 0.5349 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3189, allocations: 7.281 kB / 0.535 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.319, allocations: 9.625 kB / 0.535 GB, free: 3.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.926e-05/0.3191, allocations: 152.3 kB / 0.5351 GB, free: 3.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3191, allocations: 0 / 0.5351 GB, free: 3.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003287/0.3194, allocations: 51.66 kB / 0.5352 GB, free: 3.547 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.0001496/0.3195, allocations: 134.8 kB / 0.5353 GB, free: 3.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005087/0.32, allocations: 339.1 kB / 0.5356 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.32, allocations: 4.25 kB / 0.5356 GB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.3203, allocations: 190.1 kB / 0.5358 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.3206, allocations: 34.86 kB / 0.5358 GB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.3213, allocations: 416.4 kB / 0.5362 GB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.022e-05/0.3214, allocations: 121.5 kB / 0.5363 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.3214, allocations: 14.56 kB / 0.5364 GB, free: 2.738 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3214, allocations: 0 / 0.5364 GB, free: 2.738 MB / 382.1 MB Notification: Performance of Templates: time 0.004433/0.3258, allocations: 2.37 MB / 0.5387 GB, free: 2.203 MB / 382.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: 7.211384747060947] Failed to read output from testmodel.py, exit status != 0: 0.3337415149435401 0.34676192100000003 0.033557438 Calling exit ...