Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001383/0.001383, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001549/0.001549, allocations: 168.9 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 158.6 MB / 186.3 MB, free: 6.207 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2764/0.2764, allocations: 36.35 MB / 274.8 MB, free: 14.66 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Examples.HRB.Simulators.TestPI") translateModel(ThermoPower.Examples.HRB.Simulators.TestPI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002526/0.002526, allocations: 71.89 kB / 415.2 MB, free: 14.11 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3065, allocations: 62.39 MB / 477.6 MB, free: 43.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.00254/0.3091, allocations: 1.636 MB / 479.3 MB, free: 43.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3101, allocations: 0.6556 MB / 479.9 MB, free: 42.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.3102, allocations: 3.938 kB / 479.9 MB, free: 42.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.3104, allocations: 52.56 kB / 480 MB, free: 42.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.882e-05/0.3105, allocations: 62.94 kB / 480 MB, free: 42.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.3109, allocations: 121.9 kB / 480.2 MB, free: 42.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.3111, allocations: 158.9 kB / 480.3 MB, free: 42.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.617e-05/0.3112, allocations: 15.91 kB / 480.3 MB, free: 42.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.571e-05/0.3112, allocations: 78.88 kB / 480.4 MB, free: 42.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.3114, allocations: 96.27 kB / 480.5 MB, free: 42.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.3114, allocations: 9.562 kB / 480.5 MB, free: 42.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3115, allocations: 79.36 kB / 480.6 MB, free: 42.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.3116, allocations: 31.34 kB / 480.6 MB, free: 42.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.3117, allocations: 67.84 kB / 480.7 MB, free: 42.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.3119, allocations: 184.1 kB / 480.9 MB, free: 42.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3119, allocations: 0 / 480.9 MB, free: 42.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3119, allocations: 6.75 kB / 480.9 MB, free: 42.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.3119, allocations: 0 / 480.9 MB, free: 42.32 MB / 446.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.0006612/0.3126, allocations: 450.2 kB / 481.3 MB, free: 41.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.3126, allocations: 9.406 kB / 481.3 MB, free: 41.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.566e-05/0.3126, allocations: 24.61 kB / 481.3 MB, free: 41.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.3129, allocations: 183.1 kB / 481.5 MB, free: 41.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.3129, allocations: 10.81 kB / 481.5 MB, free: 41.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.313, allocations: 7.312 kB / 481.5 MB, free: 41.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.3133, allocations: 204.7 kB / 481.7 MB, free: 41.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3133, allocations: 0 / 481.7 MB, free: 41.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.3133, allocations: 7.75 kB / 481.7 MB, free: 41.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3133, allocations: 10.56 kB / 481.8 MB, free: 41.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.3135, allocations: 122.7 kB / 481.9 MB, free: 41.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.314, allocations: 462.1 kB / 482.3 MB, free: 41.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.3143, allocations: 155.2 kB / 482.5 MB, free: 41.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.3144, allocations: 125.1 kB / 482.6 MB, free: 40.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.3145, allocations: 0 / 482.6 MB, free: 40.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002824/0.3147, allocations: 220.2 kB / 482.8 MB, free: 40.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.793e-06/0.3147, allocations: 0 / 482.8 MB, free: 40.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007532/0.3155, allocations: 495.6 kB / 483.3 MB, free: 40.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.3155, allocations: 80.33 kB / 483.4 MB, free: 40.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.3157, allocations: 203.3 kB / 483.6 MB, free: 40.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3157, allocations: 32.67 kB / 483.6 MB, free: 40.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.3157, allocations: 113.9 kB / 483.7 MB, free: 40.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.3158, allocations: 41.5 kB / 483.8 MB, free: 40.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.3158, allocations: 44.22 kB / 483.8 MB, free: 40.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.3159, allocations: 335.2 kB / 484.1 MB, free: 39.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.316, allocations: 114.1 kB / 484.2 MB, free: 39.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.3162, allocations: 157.3 kB / 484.4 MB, free: 39.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008022/0.317, allocations: 499.6 kB / 484.9 MB, free: 39.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.317, allocations: 0 / 484.9 MB, free: 39.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004788/0.3175, allocations: 369.2 kB / 485.2 MB, free: 39.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.3175, allocations: 43.61 kB / 485.3 MB, free: 39.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3175, allocations: 0 / 485.3 MB, free: 39.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3176, allocations: 3.281 kB / 485.3 MB, free: 39.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3177, allocations: 30.09 kB / 485.3 MB, free: 39.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3177, allocations: 3.938 kB / 485.3 MB, free: 39.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.3178, allocations: 24.05 kB / 485.3 MB, free: 39.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.3178, allocations: 10.53 kB / 485.4 MB, free: 39.21 MB / 446.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.0001897/0.318, allocations: 192.5 kB / 485.5 MB, free: 39.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.318, allocations: 24.78 kB / 485.6 MB, free: 39.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.3181, allocations: 13.06 kB / 485.6 MB, free: 39.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3181, allocations: 3.219 kB / 485.6 MB, free: 39.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3181, allocations: 0 / 485.6 MB, free: 39.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3181, allocations: 5.016 kB / 485.6 MB, free: 39.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000771/0.3189, allocations: 0.6483 MB / 486.2 MB, free: 38.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3189, allocations: 0 / 486.2 MB, free: 38.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.3189, allocations: 6.375 kB / 486.2 MB, free: 38.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3189, allocations: 0 / 486.2 MB, free: 38.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.3189, allocations: 6.719 kB / 486.3 MB, free: 38.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3189, allocations: 0 / 486.3 MB, free: 38.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3189, allocations: 9.281 kB / 486.3 MB, free: 38.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007746/0.3197, allocations: 0.6421 MB / 486.9 MB, free: 38.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.3197, allocations: 26.02 kB / 486.9 MB, free: 38.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.3198, allocations: 6.469 kB / 486.9 MB, free: 38.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.3199, allocations: 20.8 kB / 487 MB, free: 38.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.32, allocations: 10.47 kB / 487 MB, free: 38.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.32, allocations: 9.625 kB / 487 MB, free: 38.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.387e-05/0.3201, allocations: 151.7 kB / 487.1 MB, free: 38.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3201, allocations: 0 / 487.1 MB, free: 38.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00032/0.3204, allocations: 50.81 kB / 487.2 MB, free: 38.12 MB / 446.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.000143/0.3205, allocations: 134 kB / 487.3 MB, free: 38.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004625/0.321, allocations: 330.5 kB / 487.6 MB, free: 37.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.321, allocations: 0 / 487.6 MB, free: 37.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.3212, allocations: 193.2 kB / 487.8 MB, free: 37.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.3216, allocations: 37.62 kB / 487.8 MB, free: 37.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000674/0.3223, allocations: 395.8 kB / 488.2 MB, free: 37.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.605e-05/0.3223, allocations: 122 kB / 488.4 MB, free: 37.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.162e-05/0.3224, allocations: 11.36 kB / 488.4 MB, free: 37.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.3224, allocations: 14.94 kB / 488.4 MB, free: 37.35 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3224, allocations: 0 / 488.4 MB, free: 37.35 MB / 446.1 MB Notification: Performance of Templates: time 0.005497/0.3279, allocations: 2.484 MB / 490.9 MB, free: 37.04 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.pipe ; mkfifo ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.pipe >> ../files/ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.sim & ./ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.803723928984255] Failed to read output from testmodel.py, exit status != 0: 0.33699917898047715 0.347665686 0.033018056000000004 Calling exit ...