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.001128/0.001128, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001805/0.002933, 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.0009606/0.0009606, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001557/0.002518, 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.896/0.896, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1004/0.9964, allocations: 53.64 MB / 243.2 MB, free: 15.58 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.08895/0.08895, allocations: 19.76 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01168/0.1006, allocations: 7.553 MB / 271.3 MB, free: 3.477 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 1.383e-06/1.383e-06, allocations: 0 / 272.6 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.781e-05, allocations: 9.828 kB / 272.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.001917/0.001934, allocations: 1.72 MB / 274.3 MB, free: 476 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1099/0.1118, allocations: 0.6678 MB / 275 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.408e-05/0.1119, allocations: 3.281 kB / 275 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.112, allocations: 52.39 kB / 275 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.142e-05/0.1121, allocations: 68.53 kB / 275.1 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1124, allocations: 110.3 kB / 275.2 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1126, allocations: 157.5 kB / 275.3 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.729e-05/0.1127, allocations: 14.92 kB / 275.4 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1128, allocations: 112.5 kB / 275.5 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.1129, allocations: 80.11 kB / 275.5 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.113, allocations: 10.62 kB / 275.6 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.1131, allocations: 92.31 kB / 275.6 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.1132, allocations: 32.3 kB / 275.7 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.1132, allocations: 28.33 kB / 275.7 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1134, allocations: 149.3 kB / 275.8 MB, free: 1.414 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.405e-05/0.1134, allocations: 0 / 275.8 MB, free: 1.414 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1134, allocations: 0 / 275.8 MB, free: 1.414 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.1134, allocations: 1 kB / 275.8 MB, free: 1.414 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.0005175/0.114, allocations: 462.4 kB / 276.3 MB, free: 1.062 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.647e-05/0.114, allocations: 12.81 kB / 276.3 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.114, allocations: 18.67 kB / 276.3 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.1142, allocations: 159.7 kB / 276.5 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1142, allocations: 5.469 kB / 276.5 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.1142, allocations: 11.97 kB / 276.5 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1144, allocations: 173.3 kB / 276.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1144, allocations: 3.078 kB / 276.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1144, allocations: 2.422 kB / 276.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1144, allocations: 6.031 kB / 276.7 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.484e-05/0.1144, allocations: 66.91 kB / 276.7 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.1147, allocations: 365.9 kB / 277.1 MB, free: 460 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.973e-05/0.1148, allocations: 134.8 kB / 277.2 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.038e-05/0.1148, allocations: 58.8 kB / 277.3 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1149, allocations: 3.328 kB / 277.3 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.115, allocations: 163.7 kB / 277.5 MB, free: 200 kB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.115, allocations: 0 / 277.5 MB, free: 200 kB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001995/0.1152, allocations: 238.3 kB / 277.7 MB, free: 68 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.1152, allocations: 88.12 kB / 277.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.204e-05/0.1153, allocations: 184.7 kB / 278 MB, free: 15.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1153, allocations: 31.33 kB / 278 MB, free: 15.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.1154, allocations: 106 kB / 278.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.1154, allocations: 43.47 kB / 278.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.1155, allocations: 39.33 kB / 278.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.1155, allocations: 335.4 kB / 278.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.492e-05/0.1156, allocations: 54.45 kB / 278.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.608e-05/0.1156, allocations: 92.12 kB / 278.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.1158, allocations: 224.1 kB / 278.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1158, allocations: 1.125 kB / 278.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001559/0.1159, allocations: 196.5 kB / 279.1 MB, free: 15.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.116, allocations: 36.2 kB / 279.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.116, allocations: 3.656 kB / 279.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.116, allocations: 2.891 kB / 279.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.1161, allocations: 33.92 kB / 279.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.1161, allocations: 1.094 kB / 279.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.1161, allocations: 20.03 kB / 279.2 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1161, allocations: 8.125 kB / 279.2 MB, free: 15 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.0001245/0.1163, allocations: 176.3 kB / 279.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.1163, allocations: 23.27 kB / 279.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.1163, allocations: 18.64 kB / 279.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1163, allocations: 5.547 kB / 279.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.1163, allocations: 2.062 kB / 279.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1163, allocations: 4.688 kB / 279.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.1167, allocations: 415.7 kB / 279.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1167, allocations: 0.8438 kB / 279.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-05/0.1167, allocations: 6.734 kB / 279.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.684e-05/0.1167, allocations: 17.38 kB / 279.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1167, allocations: 1.281 kB / 279.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1167, allocations: 11.16 kB / 279.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1167, allocations: 0 / 279.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1167, allocations: 2.844 kB / 279.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.117, allocations: 415.2 kB / 280.2 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.117, allocations: 6.938 kB / 280.2 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.1171, allocations: 11.62 kB / 280.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.1171, allocations: 10.16 kB / 280.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1171, allocations: 7.156 kB / 280.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.538e-05/0.1172, allocations: 61.59 kB / 280.3 MB, free: 14.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1172, allocations: 0 / 280.3 MB, free: 14.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001916/0.1174, allocations: 59.52 kB / 280.4 MB, free: 14.23 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.0001287/0.1175, allocations: 113.1 kB / 280.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.1177, allocations: 222 kB / 280.7 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.1177, allocations: 7.172 kB / 280.7 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.904e-05/0.1178, allocations: 145.8 kB / 280.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.118, allocations: 50.67 kB / 280.9 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.1185, allocations: 344.4 kB / 281.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.354e-05/0.1185, allocations: 75.36 kB / 281.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.365e-05/0.1186, allocations: 9.453 kB / 281.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.465e-05/0.1187, allocations: 87.06 kB / 281.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1187, allocations: 0 / 281.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of Templates: time 0.004681/0.1233, allocations: 2.691 MB / 284.1 MB, free: 13.32 MB / 282.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.569190666079521]