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.0009095/0.0009095, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009221/0.0009221, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.8589/0.8589, allocations: 158.6 MB / 186.4 MB, free: 2.922 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.1654/0.1654, allocations: 36.34 MB / 275.1 MB, free: 10.65 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.733e-06/1.733e-06, allocations: 0 / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.829e-05, allocations: 2.312 kB / 353.8 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.00233/0.002358, allocations: 1.678 MB / 355.5 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008662/0.003224, allocations: 0.6941 MB / 356.2 MB, free: 1.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.386e-05/0.003298, allocations: 0 / 356.2 MB, free: 1.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.003487, allocations: 47.75 kB / 356.2 MB, free: 1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.371e-05/0.003551, allocations: 59.67 kB / 356.3 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.003977, allocations: 123.6 kB / 356.4 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.004144, allocations: 171.5 kB / 356.5 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.884e-05/0.004233, allocations: 13.64 kB / 356.6 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.325e-05/0.004316, allocations: 87.84 kB / 356.6 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.004447, allocations: 91.75 kB / 356.7 MB, free: 468 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.004471, allocations: 12 kB / 356.8 MB, free: 456 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.857e-05/0.004569, allocations: 79.92 kB / 356.8 MB, free: 376 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.332e-05/0.004623, allocations: 27.91 kB / 356.9 MB, free: 348 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.004673, allocations: 47.83 kB / 356.9 MB, free: 300 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.004874, allocations: 171.4 kB / 357.1 MB, free: 128 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004876, allocations: 4 kB / 357.1 MB, free: 124 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.004877, allocations: 0 / 357.1 MB, free: 124 kB / 282.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.004883, allocations: 0 / 357.1 MB, free: 124 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.0006309/0.005514, allocations: 0.5578 MB / 357.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.00555, allocations: 8.031 kB / 357.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.005612, allocations: 24.83 kB / 357.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.005817, allocations: 176.1 kB / 357.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.00584, allocations: 16.31 kB / 357.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.005868, allocations: 8.375 kB / 357.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.006092, allocations: 167.6 kB / 358 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.0061, allocations: 192 / 358 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.006115, allocations: 8.375 kB / 358 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.006125, allocations: 3.938 kB / 358 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.833e-05/0.006213, allocations: 69.66 kB / 358.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.006705, allocations: 0.6067 MB / 358.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.006856, allocations: 108.7 kB / 358.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.143e-05/0.006928, allocations: 69.36 kB / 358.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.006949, allocations: 4 kB / 358.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.007128, allocations: 168.3 kB / 359.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.654e-06/0.00713, allocations: 0 / 359.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.000401/0.007531, allocations: 317.5 kB / 359.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.007575, allocations: 89.14 kB / 359.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.00772, allocations: 253.6 kB / 359.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.007737, allocations: 33.7 kB / 359.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.007818, allocations: 171.2 kB / 359.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.007849, allocations: 39.69 kB / 359.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.007904, allocations: 47.36 kB / 360 MB, free: 12.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.008027, allocations: 0.504 MB / 360.5 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.008102, allocations: 65.48 kB / 360.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.00821, allocations: 116 kB / 360.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.008439, allocations: 247.4 kB / 360.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.008441, allocations: 0 / 360.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002471/0.008688, allocations: 259 kB / 361.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.008722, allocations: 41.69 kB / 361.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.008726, allocations: 0 / 361.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.008746, allocations: 0 / 361.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.008846, allocations: 23.98 kB / 361.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.008853, allocations: 7.938 kB / 361.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.008916, allocations: 11.95 kB / 361.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.008931, allocations: 15.98 kB / 361.3 MB, free: 11.54 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.0001474/0.009079, allocations: 214.5 kB / 361.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.009109, allocations: 27.89 kB / 361.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.009138, allocations: 13.81 kB / 361.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.009141, allocations: 4 kB / 361.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.009145, allocations: 3.938 kB / 361.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.009149, allocations: 0 / 361.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.009646, allocations: 0.5903 MB / 362.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.009648, allocations: 0 / 362.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.009688, allocations: 4 kB / 362.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.009691, allocations: 7.984 kB / 362.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.009713, allocations: 8 kB / 362.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.009715, allocations: 0 / 362.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.009717, allocations: 3.984 kB / 362.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.01011, allocations: 0.4997 MB / 362.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.01013, allocations: 27.78 kB / 362.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.01015, allocations: 4 kB / 362.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.01023, allocations: 11.98 kB / 362.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.01027, allocations: 15.92 kB / 362.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.01029, allocations: 11.97 kB / 362.7 MB, free: 9.996 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.716e-05/0.01037, allocations: 180.1 kB / 362.9 MB, free: 9.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01037, allocations: 0 / 362.9 MB, free: 9.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002113/0.01058, allocations: 48 kB / 362.9 MB, free: 9.773 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.0001616/0.01074, allocations: 135.1 kB / 363.1 MB, free: 9.633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.01099, allocations: 246.3 kB / 363.3 MB, free: 9.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01099, allocations: 0 / 363.3 MB, free: 9.363 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.01109, allocations: 152.8 kB / 363.4 MB, free: 9.191 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.01136, allocations: 41.09 kB / 363.5 MB, free: 9.152 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004959/0.01186, allocations: 351.4 kB / 363.8 MB, free: 8.777 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.659e-05/0.0119, allocations: 79.83 kB / 363.9 MB, free: 8.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.916e-05/0.01193, allocations: 8.641 kB / 363.9 MB, free: 8.672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.01196, allocations: 16.5 kB / 363.9 MB, free: 8.656 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01196, allocations: 0 / 363.9 MB, free: 8.656 MB / 298.7 MB Notification: Performance of Templates: time 0.004329/0.01629, allocations: 2.488 MB / 366.4 MB, free: 6.176 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.903793560806662]