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.001065/0.001065, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001208/0.001208, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.8514/0.8514, allocations: 158.6 MB / 186.8 MB, free: 2.77 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.1767/0.1767, allocations: 36.34 MB / 275.4 MB, free: 10.54 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.383e-06/1.383e-06, allocations: 0 / 305.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.295e-05, allocations: 2.312 kB / 305.2 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.001898/0.001911, allocations: 1.67 MB / 306.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008003/0.002711, allocations: 0.6981 MB / 307.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.00277, allocations: 1.25 kB / 307.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.002947, allocations: 53.83 kB / 307.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.819e-05/0.003015, allocations: 59.42 kB / 307.6 MB, free: 12.53 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.003338, allocations: 124.2 kB / 307.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.003506, allocations: 160.4 kB / 307.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.054e-05/0.003576, allocations: 18.89 kB / 307.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.936e-05/0.003676, allocations: 90.3 kB / 308 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.003803, allocations: 83.38 kB / 308.1 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.003825, allocations: 10.03 kB / 308.1 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.003931, allocations: 82.17 kB / 308.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.003983, allocations: 35.36 kB / 308.2 MB, free: 12.3 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.004029, allocations: 36.48 kB / 308.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.004224, allocations: 176.4 kB / 308.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.004226, allocations: 5.656 kB / 308.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004227, allocations: 0 / 308.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.00423, allocations: 0 / 308.5 MB, free: 12.21 MB / 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.000379/0.004609, allocations: 432.3 kB / 308.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.745e-05/0.004637, allocations: 10.25 kB / 308.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.004674, allocations: 21.53 kB / 308.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.004802, allocations: 175.8 kB / 309.1 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.004816, allocations: 13.47 kB / 309.1 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.004837, allocations: 7.281 kB / 309.1 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.00498, allocations: 162.4 kB / 309.3 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.004987, allocations: 2.438 kB / 309.3 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.004998, allocations: 3.359 kB / 309.3 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.005003, allocations: 5.938 kB / 309.3 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.288e-05/0.005056, allocations: 65.09 kB / 309.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.005289, allocations: 369.3 kB / 309.7 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.421e-05/0.005383, allocations: 125 kB / 309.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.005425, allocations: 60.39 kB / 309.9 MB, free: 11.01 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.005436, allocations: 2.562 kB / 309.9 MB, free: 11.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/0.005553, allocations: 169.8 kB / 310 MB, free: 10.87 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.005554, allocations: 0 / 310 MB, free: 10.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001909/0.005745, allocations: 219.3 kB / 310.3 MB, free: 10.74 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.005769, allocations: 86.27 kB / 310.3 MB, free: 10.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.385e-05/0.005853, allocations: 180.7 kB / 310.5 MB, free: 10.51 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.005864, allocations: 33.16 kB / 310.5 MB, free: 10.47 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/0.005892, allocations: 110.6 kB / 310.7 MB, free: 10.37 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.005914, allocations: 45.69 kB / 310.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.005955, allocations: 45.19 kB / 310.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.272e-05/0.005988, allocations: 329.3 kB / 311.1 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.759e-05/0.006026, allocations: 56.56 kB / 311.1 MB, free: 9.945 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.746e-05/0.006073, allocations: 92.69 kB / 311.2 MB, free: 9.863 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.006202, allocations: 212.6 kB / 311.4 MB, free: 9.711 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006204, allocations: 5.062 kB / 311.4 MB, free: 9.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001592/0.006363, allocations: 185.3 kB / 311.6 MB, free: 9.594 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.006387, allocations: 37.12 kB / 311.6 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.006391, allocations: 1.469 kB / 311.6 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.006401, allocations: 1.312 kB / 311.6 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.006468, allocations: 24.38 kB / 311.7 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.006473, allocations: 6.188 kB / 311.7 MB, free: 9.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.404e-05/0.006527, allocations: 22.44 kB / 311.7 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.006537, allocations: 12.81 kB / 311.7 MB, free: 9.543 MB / 282.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 8.784e-05/0.006625, allocations: 165.3 kB / 311.9 MB, free: 9.387 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.00665, allocations: 24.44 kB / 311.9 MB, free: 9.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.006672, allocations: 19.95 kB / 311.9 MB, free: 9.371 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006674, allocations: 1.188 kB / 311.9 MB, free: 9.371 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.006675, allocations: 0 / 311.9 MB, free: 9.371 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.006679, allocations: 2.641 kB / 311.9 MB, free: 9.371 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.006931, allocations: 420.9 kB / 312.3 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.006931, allocations: 1.594 kB / 312.3 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.006954, allocations: 8.672 kB / 312.3 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.006956, allocations: 1.953 kB / 312.3 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.006966, allocations: 3 kB / 312.3 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.006968, allocations: 2.203 kB / 312.3 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006969, allocations: 3.984 kB / 312.3 MB, free: 9.035 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.007175, allocations: 399.7 kB / 312.7 MB, free: 8.742 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.00719, allocations: 15.58 kB / 312.8 MB, free: 8.734 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.00721, allocations: 7.062 kB / 312.8 MB, free: 8.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.007283, allocations: 11.94 kB / 312.8 MB, free: 8.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.007308, allocations: 11.17 kB / 312.8 MB, free: 8.727 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.007323, allocations: 11.28 kB / 312.8 MB, free: 8.723 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.007363, allocations: 51.33 kB / 312.8 MB, free: 8.703 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007363, allocations: 0 / 312.8 MB, free: 8.703 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.007532, allocations: 56.03 kB / 312.9 MB, free: 8.695 MB / 282.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.0001141/0.007646, allocations: 116.1 kB / 313 MB, free: 8.617 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.007795, allocations: 227.9 kB / 313.2 MB, free: 8.457 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.007798, allocations: 1.375 kB / 313.2 MB, free: 8.457 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.554e-05/0.007864, allocations: 137.6 kB / 313.4 MB, free: 8.352 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.008035, allocations: 43.02 kB / 313.4 MB, free: 8.336 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.008381, allocations: 336.9 kB / 313.7 MB, free: 8.098 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.168e-05/0.008413, allocations: 75.33 kB / 313.8 MB, free: 8.027 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.572e-05/0.008439, allocations: 8.906 kB / 313.8 MB, free: 8.027 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.008519, allocations: 84.36 kB / 313.9 MB, free: 7.977 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.008519, allocations: 0 / 313.9 MB, free: 7.977 MB / 282.7 MB Notification: Performance of Templates: time 0.003924/0.01244, allocations: 2.658 MB / 316.6 MB, free: 7.094 MB / 282.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.722839694004506]