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.0008923/0.0008923, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003638/0.003638, allocations: 160.2 kB / 24.7 MB, free: 9.418 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.8549/0.8549, allocations: 158.6 MB / 186.5 MB, free: 3.043 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.1892/0.1892, allocations: 36.35 MB / 275.1 MB, free: 10.98 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.443e-06/1.443e-06, allocations: 0 / 415.6 MB, free: 5.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.246e-05, allocations: 10.22 kB / 415.6 MB, free: 5.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.001876/0.001898, allocations: 1.632 MB / 417.2 MB, free: 3.961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.003023, allocations: 0.6666 MB / 417.9 MB, free: 3.285 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.003098, allocations: 3.938 kB / 417.9 MB, free: 3.281 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.00329, allocations: 47.81 kB / 417.9 MB, free: 3.234 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.239e-05/0.003353, allocations: 59.67 kB / 418 MB, free: 3.176 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.00374, allocations: 119.6 kB / 418.1 MB, free: 3.059 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.003915, allocations: 167.5 kB / 418.3 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.714e-05/0.004012, allocations: 21.61 kB / 418.3 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.078e-05/0.004103, allocations: 95.72 kB / 418.4 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.004237, allocations: 87.81 kB / 418.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.004257, allocations: 12 kB / 418.5 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.472e-05/0.004352, allocations: 75.94 kB / 418.6 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.004412, allocations: 35.83 kB / 418.6 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.004462, allocations: 39.86 kB / 418.6 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.004703, allocations: 215.4 kB / 418.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004705, allocations: 4 kB / 418.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004706, allocations: 0 / 418.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.00471, allocations: 0 / 418.9 MB, free: 2.316 MB / 346.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.0005679/0.005278, allocations: 456.7 kB / 419.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.005311, allocations: 8.031 kB / 419.3 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.005356, allocations: 16.84 kB / 419.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.005555, allocations: 181.2 kB / 419.5 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.005572, allocations: 12.38 kB / 419.5 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.005596, allocations: 8.375 kB / 419.5 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.00585, allocations: 206.3 kB / 419.7 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005858, allocations: 192 / 419.7 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.005872, allocations: 384 / 419.7 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.005879, allocations: 7.938 kB / 419.7 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.006015, allocations: 121.6 kB / 419.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.006429, allocations: 472.6 kB / 420.3 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.006626, allocations: 156.1 kB / 420.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.006738, allocations: 122.5 kB / 420.6 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.006756, allocations: 112 / 420.6 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.006968, allocations: 214.6 kB / 420.8 MB, free: 200 kB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 9.52e-07/0.006969, allocations: 4 kB / 420.8 MB, free: 196 kB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005419/0.007511, allocations: 490.5 kB / 421.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.007557, allocations: 89.05 kB / 421.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.007686, allocations: 194.8 kB / 421.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.007701, allocations: 29.7 kB / 421.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.007764, allocations: 116.4 kB / 421.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.007794, allocations: 55.77 kB / 421.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.007841, allocations: 37.7 kB / 421.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.007925, allocations: 330.8 kB / 422.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.008037, allocations: 117.6 kB / 422.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.00816, allocations: 145.9 kB / 422.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005669/0.008727, allocations: 0.4899 MB / 422.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008729, allocations: 3.938 kB / 422.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003251/0.009054, allocations: 364.7 kB / 423.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.009083, allocations: 37.69 kB / 423.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.009088, allocations: 0 / 423.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.009101, allocations: 4 kB / 423.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.201e-05/0.009183, allocations: 32.09 kB / 423.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.009189, allocations: 4 kB / 423.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.579e-05/0.009255, allocations: 23.94 kB / 423.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.009266, allocations: 11.94 kB / 423.3 MB, free: 13.48 MB / 362.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.0001418/0.009408, allocations: 187.4 kB / 423.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.009427, allocations: 23.86 kB / 423.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.009458, allocations: 21.8 kB / 423.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.009462, allocations: 4 kB / 423.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.009466, allocations: 4 kB / 423.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.009469, allocations: 0 / 423.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.01003, allocations: 0.6372 MB / 424.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.01003, allocations: 4 kB / 424.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.01007, allocations: 8 kB / 424.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01007, allocations: 3.938 kB / 424.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.01008, allocations: 7.984 kB / 424.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.01009, allocations: 0 / 424.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01009, allocations: 4 kB / 424.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.0111, allocations: 0.6485 MB / 424.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.783e-05/0.01112, allocations: 15.88 kB / 424.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.01114, allocations: 8 kB / 424.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.01122, allocations: 19.97 kB / 424.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.01126, allocations: 8.047 kB / 424.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.01128, allocations: 15.94 kB / 424.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.215e-05/0.01135, allocations: 148.2 kB / 425.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01135, allocations: 0 / 425.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.01156, allocations: 55.98 kB / 425.1 MB, free: 11.57 MB / 362.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.0001343/0.01169, allocations: 135.1 kB / 425.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003372/0.01203, allocations: 338.6 kB / 425.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01203, allocations: 3.938 kB / 425.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.01217, allocations: 193 kB / 425.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.01241, allocations: 28.86 kB / 425.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.01293, allocations: 421.4 kB / 426.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.398e-05/0.013, allocations: 115.6 kB / 426.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.01303, allocations: 16.5 kB / 426.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01303, allocations: 0 / 426.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of Templates: time 0.002868/0.0159, allocations: 2.376 MB / 428.7 MB, free: 7.855 MB / 362.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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.414249797351658] Failed to read output from testmodel.py, exit status != 0: 0.02040223777294159 0.028722117000000002 0.022469662 Calling exit ...