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.001113/0.001113, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00137/0.00137, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.9477/0.9477, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.09645/0.09645, allocations: 19.74 MB / 281.6 MB, free: 9.074 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 3.557e-06/3.557e-06, allocations: 3.984 kB / 358.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/3.092e-05, allocations: 2.312 kB / 358.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.003506/0.003537, allocations: 1.68 MB / 360.1 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.004857, allocations: 0.662 MB / 360.8 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.00496, allocations: 0 / 360.8 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.005224, allocations: 47.81 kB / 360.8 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.005331, allocations: 67.61 kB / 360.9 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.0059, allocations: 119.7 kB / 361 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.006175, allocations: 163.5 kB / 361.2 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.006295, allocations: 13.62 kB / 361.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.00644, allocations: 87.84 kB / 361.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.006691, allocations: 95.75 kB / 361.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.006734, allocations: 12 kB / 361.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.00691, allocations: 75.94 kB / 361.4 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.279e-05/0.006993, allocations: 35.89 kB / 361.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.743e-05/0.00707, allocations: 39.84 kB / 361.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.007312, allocations: 175.4 kB / 361.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.007314, allocations: 0 / 361.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007315, allocations: 0 / 361.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.00732, allocations: 0 / 361.7 MB, free: 3.043 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.0005613/0.007881, allocations: 0.5576 MB / 362.2 MB, free: 2.438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.007926, allocations: 8.031 kB / 362.2 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.007979, allocations: 28.78 kB / 362.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.008171, allocations: 173.7 kB / 362.4 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.008189, allocations: 12.31 kB / 362.5 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.008213, allocations: 12.36 kB / 362.5 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.008422, allocations: 166.4 kB / 362.6 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.008432, allocations: 4.188 kB / 362.6 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.008442, allocations: 4.375 kB / 362.6 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.00845, allocations: 3.938 kB / 362.6 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.251e-05/0.008522, allocations: 69.61 kB / 362.7 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.008967, allocations: 0.5605 MB / 363.3 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.009082, allocations: 100.7 kB / 363.4 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.009131, allocations: 65.36 kB / 363.4 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.00915, allocations: 7.938 kB / 363.4 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.009287, allocations: 156.4 kB / 363.6 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.734e-06/0.009289, allocations: 0 / 363.6 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003464/0.009636, allocations: 313.4 kB / 363.9 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.00968, allocations: 85.16 kB / 364 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.009809, allocations: 245.8 kB / 364.2 MB, free: 252 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.009824, allocations: 29.7 kB / 364.2 MB, free: 216 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.0099, allocations: 167.1 kB / 364.4 MB, free: 44 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.009944, allocations: 47.88 kB / 364.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.009995, allocations: 43.27 kB / 364.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.01014, allocations: 0.504 MB / 365 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-05/0.01018, allocations: 49.69 kB / 365.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.71e-05/0.01025, allocations: 112.1 kB / 365.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.0104, allocations: 223.4 kB / 365.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01041, allocations: 0 / 365.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002108/0.01062, allocations: 247 kB / 365.6 MB, free: 14.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.01064, allocations: 33.7 kB / 365.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.01065, allocations: 128 / 365.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.01066, allocations: 8 kB / 365.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.902e-05/0.01074, allocations: 27.92 kB / 365.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.01074, allocations: 0 / 365.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.65e-05/0.0108, allocations: 23.92 kB / 365.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.01081, allocations: 4 kB / 365.7 MB, free: 14.62 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.0001445/0.01095, allocations: 213.1 kB / 365.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.01098, allocations: 31.8 kB / 366 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.01101, allocations: 21.8 kB / 366 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01102, allocations: 11.98 kB / 366 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.01102, allocations: 3.938 kB / 366 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.01102, allocations: 0 / 366 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.01146, allocations: 0.5479 MB / 366.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01146, allocations: 0 / 366.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.01149, allocations: 4 kB / 366.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.0115, allocations: 0 / 366.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.01151, allocations: 11.98 kB / 366.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01151, allocations: 4 kB / 366.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01151, allocations: 0 / 366.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.01185, allocations: 491.1 kB / 367 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.01187, allocations: 15.91 kB / 367.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.01189, allocations: 11.94 kB / 367.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.01196, allocations: 11.98 kB / 367.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.01199, allocations: 11.92 kB / 367.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.01201, allocations: 11.98 kB / 367.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.466e-05/0.01207, allocations: 168.1 kB / 367.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01207, allocations: 0 / 367.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001981/0.01227, allocations: 63.88 kB / 367.3 MB, free: 12.91 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.0001338/0.01241, allocations: 131.2 kB / 367.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.0126, allocations: 236.4 kB / 367.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.0126, allocations: 0 / 367.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.513e-05/0.01269, allocations: 140.7 kB / 367.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.01291, allocations: 43.7 kB / 367.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.0133, allocations: 328.4 kB / 368.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.134e-05/0.01335, allocations: 80.08 kB / 368.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.907e-05/0.01338, allocations: 12.64 kB / 368.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.567e-05/0.01348, allocations: 102.2 kB / 368.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01348, allocations: 0 / 368.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of Templates: time 0.004102/0.01758, allocations: 2.635 MB / 371 MB, free: 9.141 MB / 298.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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.650893076788634]