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.001067/0.001067, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004743/0.004743, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.9057/0.9057, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.09549/0.09549, allocations: 19.74 MB / 281.2 MB, free: 9.449 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 417.8 MB, free: 7.398 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.127e-05, allocations: 7.938 kB / 417.8 MB, free: 7.391 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.002212/0.002243, allocations: 1.642 MB / 419.4 MB, free: 6.273 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009983/0.003241, allocations: 0.6483 MB / 420.1 MB, free: 5.844 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.679e-05/0.003328, allocations: 1.062 kB / 420.1 MB, free: 5.844 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.003558, allocations: 45.28 kB / 420.1 MB, free: 5.836 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.782e-05/0.003646, allocations: 59.95 kB / 420.2 MB, free: 5.816 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.004141, allocations: 119.3 kB / 420.3 MB, free: 5.762 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.004391, allocations: 170.8 kB / 420.5 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.004501, allocations: 13.94 kB / 420.5 MB, free: 5.676 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.004641, allocations: 90.33 kB / 420.6 MB, free: 5.645 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.004832, allocations: 95.56 kB / 420.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.004861, allocations: 9.469 kB / 420.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.005005, allocations: 78.25 kB / 420.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.294e-05/0.005078, allocations: 28.53 kB / 420.8 MB, free: 5.594 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.005144, allocations: 43.2 kB / 420.8 MB, free: 5.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.005477, allocations: 210.6 kB / 421 MB, free: 5.492 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.005481, allocations: 0.9375 kB / 421 MB, free: 5.492 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005482, allocations: 4 kB / 421 MB, free: 5.488 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.005488, allocations: 5.062 kB / 421 MB, free: 5.484 MB / 330.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.0006007/0.006089, allocations: 449.7 kB / 421.5 MB, free: 5.082 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.006131, allocations: 13.64 kB / 421.5 MB, free: 5.078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.006188, allocations: 22.78 kB / 421.5 MB, free: 5.066 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.006403, allocations: 170.8 kB / 421.7 MB, free: 4.906 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.006422, allocations: 12.89 kB / 421.7 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.006453, allocations: 7.922 kB / 421.7 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.006746, allocations: 200.8 kB / 421.9 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.006757, allocations: 192 / 421.9 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.006774, allocations: 3.734 kB / 421.9 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.006782, allocations: 9 kB / 421.9 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.00696, allocations: 136 kB / 422 MB, free: 4.703 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.007409, allocations: 461.6 kB / 422.5 MB, free: 4.293 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.007646, allocations: 163.1 kB / 422.7 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.007786, allocations: 115.4 kB / 422.8 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.007809, allocations: 1.031 kB / 422.8 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.008061, allocations: 218.6 kB / 423 MB, free: 4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.184e-06/0.008064, allocations: 4 kB / 423 MB, free: 3.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006395/0.008703, allocations: 480.8 kB / 423.5 MB, free: 3.777 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.008745, allocations: 89.95 kB / 423.5 MB, free: 3.676 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.008899, allocations: 205.9 kB / 423.7 MB, free: 3.539 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.008913, allocations: 31.47 kB / 423.8 MB, free: 3.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.008974, allocations: 116.1 kB / 423.9 MB, free: 3.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.009006, allocations: 53.67 kB / 423.9 MB, free: 3.355 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.009058, allocations: 37.19 kB / 424 MB, free: 3.332 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.737e-05/0.009105, allocations: 330.7 kB / 424.3 MB, free: 3.012 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.009239, allocations: 114.6 kB / 424.4 MB, free: 2.957 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.009389, allocations: 147.4 kB / 424.6 MB, free: 2.863 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/0.01007, allocations: 0.4901 MB / 425 MB, free: 2.594 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01007, allocations: 0 / 425 MB, free: 2.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004035/0.01048, allocations: 369.6 kB / 425.4 MB, free: 2.414 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.01051, allocations: 36.61 kB / 425.4 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.01052, allocations: 1.859 kB / 425.4 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.01053, allocations: 2.281 kB / 425.4 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.01064, allocations: 35.2 kB / 425.5 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.01064, allocations: 1.25 kB / 425.5 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.638e-05/0.01072, allocations: 27.33 kB / 425.5 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.01073, allocations: 6.062 kB / 425.5 MB, free: 2.363 MB / 330.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.0001582/0.01089, allocations: 182.6 kB / 425.7 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.01091, allocations: 18.45 kB / 425.7 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.01095, allocations: 21.59 kB / 425.7 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01095, allocations: 2.125 kB / 425.7 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.01096, allocations: 4 kB / 425.7 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.01096, allocations: 6.109 kB / 425.7 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006705/0.01163, allocations: 0.6545 MB / 426.4 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01164, allocations: 0.9375 kB / 426.4 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.345e-05/0.01168, allocations: 5.297 kB / 426.4 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01168, allocations: 1.094 kB / 426.4 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.0117, allocations: 9.156 kB / 426.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.0117, allocations: 1.031 kB / 426.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.01171, allocations: 4.938 kB / 426.4 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/0.01239, allocations: 0.6473 MB / 427.1 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.626e-05/0.01242, allocations: 18.58 kB / 427.1 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.01245, allocations: 12.91 kB / 427.1 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.01252, allocations: 15.14 kB / 427.1 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.01258, allocations: 11.3 kB / 427.1 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.0126, allocations: 15.95 kB / 427.1 MB, free: 1.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.645e-05/0.0127, allocations: 144.8 kB / 427.3 MB, free: 1.273 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0127, allocations: 3.938 kB / 427.3 MB, free: 1.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002279/0.01293, allocations: 56.39 kB / 427.3 MB, free: 1.262 MB / 330.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.0001621/0.01309, allocations: 131.5 kB / 427.5 MB, free: 1.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003923/0.01348, allocations: 339 kB / 427.8 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01348, allocations: 0 / 427.8 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.01365, allocations: 190.1 kB / 428 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.01391, allocations: 33.84 kB / 428 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.01447, allocations: 408 kB / 428.4 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.01458, allocations: 118.9 kB / 428.5 MB, free: 488 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.0146, allocations: 14.28 kB / 428.5 MB, free: 480 kB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0146, allocations: 0 / 428.5 MB, free: 480 kB / 330.7 MB Notification: Performance of Templates: time 0.004771/0.01937, allocations: 2.374 MB / 430.9 MB, free: 232 kB / 330.7 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: 4.797555253840983] Failed to read output from testmodel.py, exit status != 0: 0.025197616778314114 0.034651925 0.027554922000000003 Calling exit ...