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.0008798/0.0008798, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.0009045/0.0009045, allocations: 163.6 kB / 24.99 MB, free: 8.746 MB / 18.57 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 0.7673/0.7673, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 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.157/0.157, allocations: 36.34 MB / 275.4 MB, free: 10.72 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 353.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.498e-06/1.089e-05, allocations: 5.688 kB / 353.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.001484/0.001495, allocations: 1.666 MB / 355.4 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006517/0.002146, allocations: 0.6863 MB / 356.1 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.002204, allocations: 4 kB / 356.1 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.002327, allocations: 43.81 kB / 356.2 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.21e-05/0.002379, allocations: 67.61 kB / 356.2 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.00265, allocations: 127.6 kB / 356.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.002777, allocations: 163.5 kB / 356.5 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6e-05/0.002837, allocations: 9.641 kB / 356.5 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.156e-05/0.002908, allocations: 91.83 kB / 356.6 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.649e-05/0.003005, allocations: 95.75 kB / 356.7 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.003021, allocations: 8 kB / 356.7 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.45e-05/0.003096, allocations: 79.92 kB / 356.8 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.003132, allocations: 35.91 kB / 356.8 MB, free: 0.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.003171, allocations: 39.84 kB / 356.9 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.003325, allocations: 179.4 kB / 357.1 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.003327, allocations: 0 / 357.1 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.003327, allocations: 0 / 357.1 MB, free: 464 kB / 282.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.003331, allocations: 0 / 357.1 MB, free: 464 kB / 282.7 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.0006052/0.003936, allocations: 0.5498 MB / 357.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.003973, allocations: 8.031 kB / 357.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.196e-05/0.004045, allocations: 28.83 kB / 357.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.004261, allocations: 188 kB / 357.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.004281, allocations: 8.375 kB / 357.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.004305, allocations: 4.375 kB / 357.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.004559, allocations: 171.6 kB / 358 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.004567, allocations: 4.172 kB / 358 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.00458, allocations: 384 / 358 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.00459, allocations: 7.938 kB / 358 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.979e-05/0.00468, allocations: 69.61 kB / 358.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.005171, allocations: 0.6106 MB / 358.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.005317, allocations: 104.7 kB / 358.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.23e-05/0.00539, allocations: 69.38 kB / 358.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.005404, allocations: 0 / 358.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.005586, allocations: 176.4 kB / 359 MB, free: 14.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.005587, allocations: 0 / 359 MB, free: 14.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004076/0.005995, allocations: 325.5 kB / 359.4 MB, free: 13.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.006038, allocations: 85.11 kB / 359.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.006182, allocations: 253.6 kB / 359.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.006198, allocations: 29.7 kB / 359.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.006271, allocations: 171.2 kB / 359.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.0063, allocations: 39.69 kB / 359.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.006352, allocations: 47.36 kB / 360 MB, free: 13.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.006468, allocations: 0.504 MB / 360.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.99e-05/0.006538, allocations: 61.53 kB / 360.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.539e-05/0.006623, allocations: 116 kB / 360.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.006826, allocations: 239.4 kB / 360.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006828, allocations: 0 / 360.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002455/0.007073, allocations: 255.2 kB / 361.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.007105, allocations: 41.69 kB / 361.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.007109, allocations: 0 / 361.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.007123, allocations: 4 kB / 361.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.668e-05/0.007219, allocations: 23.98 kB / 361.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.007225, allocations: 0 / 361.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.861e-05/0.007293, allocations: 32 kB / 361.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.007304, allocations: 4 kB / 361.2 MB, free: 11.88 MB / 298.7 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.0001517/0.007456, allocations: 218.1 kB / 361.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.007486, allocations: 27.84 kB / 361.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.007512, allocations: 13.81 kB / 361.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007514, allocations: 0 / 361.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.007518, allocations: 3.984 kB / 361.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.007522, allocations: 0 / 361.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005012/0.008024, allocations: 0.5865 MB / 362.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.008025, allocations: 4 kB / 362.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.008067, allocations: 8 kB / 362.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.00807, allocations: 3.984 kB / 362.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.008086, allocations: 7.984 kB / 362.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.008087, allocations: 0 / 362.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.008088, allocations: 0 / 362.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.008494, allocations: 0.5151 MB / 362.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.008514, allocations: 23.73 kB / 362.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.00854, allocations: 4 kB / 362.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/0.008623, allocations: 15.98 kB / 362.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.008658, allocations: 12.02 kB / 362.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.008677, allocations: 11.92 kB / 362.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.76e-05/0.008755, allocations: 172.2 kB / 362.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008755, allocations: 0 / 362.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002208/0.008976, allocations: 59.92 kB / 362.9 MB, free: 10.1 MB / 298.7 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.000147/0.009123, allocations: 126.9 kB / 363 MB, free: 9.973 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.009373, allocations: 238.3 kB / 363.3 MB, free: 9.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.009374, allocations: 4.188 kB / 363.3 MB, free: 9.707 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.009479, allocations: 153.4 kB / 363.4 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.009746, allocations: 44.12 kB / 363.5 MB, free: 9.492 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.01022, allocations: 347.5 kB / 363.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.279e-05/0.01026, allocations: 75.83 kB / 363.9 MB, free: 9.027 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.375e-05/0.0103, allocations: 12.64 kB / 363.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.01033, allocations: 12.5 kB / 363.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01033, allocations: 4 kB / 363.9 MB, free: 9 MB / 298.7 MB Notification: Performance of Templates: time 0.00426/0.01459, allocations: 2.494 MB / 366.4 MB, free: 6.508 MB / 298.7 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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6543933290522546]