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.001609/0.001609, allocations: 78.88 kB / 21.27 MB, free: 388 kB / 14.72 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.001932/0.001932, allocations: 168 kB / 24.53 MB, free: 3.586 MB / 14.72 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 1.65/1.65, allocations: 177.2 MB / 204.9 MB, free: 9.285 MB / 190.1 MB " [Timeout remaining time 178] 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.2037/0.2037, allocations: 19.71 MB / 281 MB, free: 13.05 MB / 270.1 MB " [Timeout remaining time 179] 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 63.91 kB / 417.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4861, allocations: 60.45 MB / 478 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.005076/0.4911, allocations: 1.644 MB / 479.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.4931, allocations: 0.6399 MB / 480.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.4933, allocations: 5.125 kB / 480.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.4936, allocations: 56.53 kB / 480.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.4938, allocations: 54.77 kB / 480.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.4945, allocations: 126.3 kB / 480.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.4949, allocations: 155.8 kB / 480.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.495, allocations: 14.69 kB / 480.7 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.4952, allocations: 100 kB / 480.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.4954, allocations: 100.1 kB / 480.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.4954, allocations: 10.84 kB / 480.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.4956, allocations: 75.19 kB / 481 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.218e-05/0.4957, allocations: 38.25 kB / 481 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.545e-05/0.4958, allocations: 53.36 kB / 481.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.4961, allocations: 197 kB / 481.3 MB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4962, allocations: 0 / 481.3 MB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.4962, allocations: 0.9375 kB / 481.3 MB, free: 13.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.4962, allocations: 0 / 481.3 MB, free: 13.21 MB / 382.1 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.0009695/0.4971, allocations: 461.4 kB / 481.7 MB, free: 12.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.4972, allocations: 9 kB / 481.8 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.4973, allocations: 18.16 kB / 481.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.4976, allocations: 172 kB / 481.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.4977, allocations: 4.625 kB / 481.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.4977, allocations: 10.72 kB / 482 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.4982, allocations: 205.3 kB / 482.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4982, allocations: 5.141 kB / 482.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.4982, allocations: 8.922 kB / 482.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.4982, allocations: 2.344 kB / 482.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.4985, allocations: 134.7 kB / 482.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006822/0.4992, allocations: 457.8 kB / 482.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.4995, allocations: 159.7 kB / 482.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.4998, allocations: 121.6 kB / 483 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.4998, allocations: 5.875 kB / 483 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004097/0.5002, allocations: 218.2 kB / 483.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.784e-06/0.5002, allocations: 0 / 483.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009982/0.5012, allocations: 478.9 kB / 483.7 MB, free: 11.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.5013, allocations: 88.53 kB / 483.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.5015, allocations: 202.6 kB / 484 MB, free: 11.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.5015, allocations: 39.83 kB / 484 MB, free: 10.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.5017, allocations: 115.2 kB / 484.1 MB, free: 10.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.5017, allocations: 39.39 kB / 484.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.89e-05/0.5018, allocations: 41.2 kB / 484.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.502, allocations: 336 kB / 484.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.5022, allocations: 112.5 kB / 484.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.5025, allocations: 154.4 kB / 484.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.5035, allocations: 499.3 kB / 485.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5035, allocations: 1.219 kB / 485.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007002/0.5042, allocations: 366.2 kB / 485.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.864e-05/0.5043, allocations: 41.25 kB / 485.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5043, allocations: 5.156 kB / 485.7 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5043, allocations: 2.25 kB / 485.7 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.5045, allocations: 25.52 kB / 485.7 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.5045, allocations: 6.094 kB / 485.7 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.5046, allocations: 26.56 kB / 485.8 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.5046, allocations: 6 kB / 485.8 MB, free: 9.703 MB / 382.1 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.0002584/0.5049, allocations: 188.2 kB / 486 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.5049, allocations: 22.31 kB / 486 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.505, allocations: 15.47 kB / 486 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.505, allocations: 6.281 kB / 486 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.505, allocations: 0 / 486 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.505, allocations: 3.984 kB / 486 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.5061, allocations: 0.6562 MB / 486.7 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5061, allocations: 1.281 kB / 486.7 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.5062, allocations: 4.312 kB / 486.7 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.5062, allocations: 9 kB / 486.7 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.5062, allocations: 7.312 kB / 486.7 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.5062, allocations: 1.062 kB / 486.7 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5062, allocations: 3.938 kB / 486.7 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.5074, allocations: 0.6406 MB / 487.3 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.5074, allocations: 22.97 kB / 487.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.5075, allocations: 4 kB / 487.4 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.5076, allocations: 23.98 kB / 487.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.5077, allocations: 7.984 kB / 487.4 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.5077, allocations: 12 kB / 487.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.5079, allocations: 148.5 kB / 487.5 MB, free: 8.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5079, allocations: 0 / 487.5 MB, free: 8.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.5082, allocations: 51.94 kB / 487.6 MB, free: 8.328 MB / 382.1 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.0002206/0.5084, allocations: 123.7 kB / 487.7 MB, free: 8.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006336/0.5091, allocations: 346.4 kB / 488 MB, free: 7.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5091, allocations: 0 / 488 MB, free: 7.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.5094, allocations: 193 kB / 488.2 MB, free: 7.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.5098, allocations: 31.72 kB / 488.3 MB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008172/0.5106, allocations: 390.2 kB / 488.6 MB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.5107, allocations: 115.4 kB / 488.8 MB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.808e-05/0.5108, allocations: 12.59 kB / 488.8 MB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.5108, allocations: 16.5 kB / 488.8 MB, free: 7.02 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.5108, allocations: 0 / 488.8 MB, free: 7.02 MB / 382.1 MB Notification: Performance of Templates: time 0.007133/0.5179, allocations: 2.47 MB / 491.3 MB, free: 4.578 MB / 382.1 MB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.729802570072934] Failed to read output from testmodel.py, exit status != 0: 0.5281295339809731 0.543235126 0.043722750000000005 Calling exit ...