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.0009041/0.0009041, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002228, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001269/0.001269, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001734/0.003003, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9869/0.9869, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1026/1.089, allocations: 53.66 MB / 243.3 MB, free: 15.56 MB / 250.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.1055/0.1055, allocations: 19.75 MB / 263.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01434/0.1198, allocations: 7.557 MB / 271.3 MB, free: 3.453 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_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.542e-06/1.542e-06, allocations: 0 / 272.6 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.653e-05, allocations: 2.312 kB / 272.6 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.002262/0.002289, allocations: 1.72 MB / 274.3 MB, free: 460 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1346/0.1369, allocations: 0.672 MB / 275 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.137, allocations: 5 kB / 275 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.1372, allocations: 52.5 kB / 275 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.792e-05/0.1373, allocations: 70.31 kB / 275.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.1377, allocations: 106.2 kB / 275.2 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.1379, allocations: 158.9 kB / 275.3 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.433e-05/0.138, allocations: 19.84 kB / 275.4 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.1382, allocations: 108.9 kB / 275.5 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.1383, allocations: 78.05 kB / 275.5 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1383, allocations: 10.75 kB / 275.5 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.1385, allocations: 93.36 kB / 275.6 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.1386, allocations: 31.03 kB / 275.7 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.1386, allocations: 29.3 kB / 275.7 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.1388, allocations: 145.6 kB / 275.8 MB, free: 1.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.911e-05/0.1389, allocations: 3.75 kB / 275.8 MB, free: 1.469 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1389, allocations: 2.406 kB / 275.8 MB, free: 1.469 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.1389, allocations: 0.75 kB / 275.8 MB, free: 1.469 MB / 266.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.0006031/0.1395, allocations: 463.7 kB / 276.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1395, allocations: 10.72 kB / 276.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.1396, allocations: 17.56 kB / 276.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.1397, allocations: 159 kB / 276.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1398, allocations: 10.73 kB / 276.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.1398, allocations: 6.719 kB / 276.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.14, allocations: 171.7 kB / 276.7 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.14, allocations: 192 / 276.7 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.14, allocations: 5.719 kB / 276.7 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.14, allocations: 6.812 kB / 276.7 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.763e-05/0.1401, allocations: 68.59 kB / 276.7 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.1404, allocations: 365.1 kB / 277.1 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.1405, allocations: 132.3 kB / 277.2 MB, free: 416 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.1405, allocations: 60.86 kB / 277.3 MB, free: 376 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.1405, allocations: 4.875 kB / 277.3 MB, free: 376 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.1407, allocations: 164.3 kB / 277.5 MB, free: 256 kB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.963e-06/0.1407, allocations: 0.5938 kB / 277.5 MB, free: 256 kB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002742/0.141, allocations: 240.4 kB / 277.7 MB, free: 120 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.141, allocations: 82.38 kB / 277.8 MB, free: 24 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.1412, allocations: 191.7 kB / 278 MB, free: 15.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1412, allocations: 30.58 kB / 278 MB, free: 15.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.1412, allocations: 100.5 kB / 278.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.1413, allocations: 44.08 kB / 278.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.1413, allocations: 41.5 kB / 278.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.1414, allocations: 330.3 kB / 278.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.327e-05/0.1415, allocations: 57.75 kB / 278.6 MB, free: 15.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.1415, allocations: 92.84 kB / 278.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.1417, allocations: 221.6 kB / 278.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1417, allocations: 1.25 kB / 278.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002269/0.142, allocations: 194.3 kB / 279.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.142, allocations: 39.31 kB / 279.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.142, allocations: 2.688 kB / 279.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.142, allocations: 0.9375 kB / 279.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.797e-05/0.1421, allocations: 28.11 kB / 279.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1421, allocations: 7.641 kB / 279.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.1422, allocations: 21.66 kB / 279.1 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.1422, allocations: 4.594 kB / 279.2 MB, free: 15.05 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 0.0001955/0.1424, allocations: 178.3 kB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.1424, allocations: 24.56 kB / 279.4 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.1425, allocations: 18.72 kB / 279.4 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1425, allocations: 5.5 kB / 279.4 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1425, allocations: 1.875 kB / 279.4 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1425, allocations: 0.6562 kB / 279.4 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.1429, allocations: 426.1 kB / 279.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1429, allocations: 0 / 279.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.143, allocations: 10.5 kB / 279.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.143, allocations: 14.03 kB / 279.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.143, allocations: 2.875 kB / 279.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.143, allocations: 5.359 kB / 279.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.143, allocations: 0 / 279.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.143, allocations: 1.188 kB / 279.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.1434, allocations: 414.3 kB / 280.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.1435, allocations: 5.844 kB / 280.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.1435, allocations: 16.66 kB / 280.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.1436, allocations: 6.891 kB / 280.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.1436, allocations: 10.09 kB / 280.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.334e-05/0.1437, allocations: 58.23 kB / 280.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1437, allocations: 0 / 280.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.1439, allocations: 58.77 kB / 280.4 MB, free: 14.29 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.0001991/0.1441, allocations: 123 kB / 280.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.1444, allocations: 218.4 kB / 280.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.1444, allocations: 4.172 kB / 280.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.1445, allocations: 143.8 kB / 280.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.1448, allocations: 54.62 kB / 280.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007735/0.1455, allocations: 337.8 kB / 281.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.194e-05/0.1456, allocations: 78.78 kB / 281.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.715e-05/0.1457, allocations: 13.25 kB / 281.3 MB, free: 13.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1458, allocations: 82.42 kB / 281.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1458, allocations: 1.094 kB / 281.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of Templates: time 0.00597/0.1518, allocations: 2.677 MB / 284.1 MB, free: 13.38 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.70532167237252]