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.001394/0.001394, allocations: 75.86 kB / 20.53 MB, free: 1.211 MB / 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.001523/0.001523, allocations: 169.4 kB / 23.79 MB, free: 4.215 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.442/1.442, allocations: 177.2 MB / 204.1 MB, free: 9.293 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.1417/0.1417, allocations: 19.7 MB / 280.3 MB, free: 13.05 MB / 270.1 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: 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.002153/0.002153, allocations: 75.89 kB / 416.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2833, allocations: 60.46 MB / 477.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.002887/0.2862, allocations: 1.64 MB / 478.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.2875, allocations: 0.647 MB / 479.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.2876, allocations: 0.9062 kB / 479.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.2877, allocations: 57.75 kB / 479.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.2878, allocations: 58.42 kB / 479.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.2883, allocations: 117.8 kB / 479.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.2885, allocations: 155.8 kB / 480 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2887, allocations: 21.34 kB / 480 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.2888, allocations: 92.83 kB / 480.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.289, allocations: 105.1 kB / 480.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.289, allocations: 9.719 kB / 480.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.2891, allocations: 75.84 kB / 480.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.2892, allocations: 36.98 kB / 480.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.654e-05/0.2893, allocations: 54.11 kB / 480.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.2896, allocations: 197.5 kB / 480.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2896, allocations: 0 / 480.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2896, allocations: 0 / 480.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.2896, allocations: 0 / 480.5 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.0008337/0.2904, allocations: 462.6 kB / 481 MB, free: 12.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2905, allocations: 8 kB / 481 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/0.2905, allocations: 22.23 kB / 481 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.2908, allocations: 168.7 kB / 481.2 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.2909, allocations: 8.172 kB / 481.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.2909, allocations: 10.5 kB / 481.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.2913, allocations: 207 kB / 481.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2913, allocations: 4 kB / 481.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.2913, allocations: 1.125 kB / 481.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.2913, allocations: 6.031 kB / 481.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.2916, allocations: 125.8 kB / 481.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006781/0.2922, allocations: 467.5 kB / 482 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.2926, allocations: 158.8 kB / 482.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.2928, allocations: 116.5 kB / 482.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.2928, allocations: 2.938 kB / 482.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003688/0.2932, allocations: 218.5 kB / 482.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.2932, allocations: 0 / 482.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009584/0.2942, allocations: 482.5 kB / 483 MB, free: 11.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.741e-05/0.2942, allocations: 89.44 kB / 483 MB, free: 11.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.2945, allocations: 201.3 kB / 483.2 MB, free: 11.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.2945, allocations: 31.95 kB / 483.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.385e-05/0.2946, allocations: 116.7 kB / 483.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.2946, allocations: 49.61 kB / 483.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.2947, allocations: 37.27 kB / 483.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.2949, allocations: 332.5 kB / 483.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.2951, allocations: 121 kB / 483.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.2954, allocations: 154.7 kB / 484.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.2964, allocations: 495.9 kB / 484.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2964, allocations: 0 / 484.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006227/0.297, allocations: 366.2 kB / 484.9 MB, free: 9.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.2971, allocations: 41.62 kB / 484.9 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.2971, allocations: 1.25 kB / 484.9 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.2971, allocations: 2.5 kB / 484.9 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.2973, allocations: 24.92 kB / 485 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2973, allocations: 3.094 kB / 485 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.2974, allocations: 26.22 kB / 485 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.2974, allocations: 13.41 kB / 485 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.0002393/0.2977, allocations: 191.9 kB / 485.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.2977, allocations: 18 kB / 485.2 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.2977, allocations: 16.44 kB / 485.2 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2978, allocations: 4.984 kB / 485.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2978, allocations: 0 / 485.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2978, allocations: 1.281 kB / 485.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.2988, allocations: 0.663 MB / 485.9 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2988, allocations: 3.938 kB / 485.9 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.131e-05/0.2988, allocations: 5.375 kB / 485.9 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2988, allocations: 0 / 485.9 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.2988, allocations: 8.156 kB / 485.9 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.2989, allocations: 5.453 kB / 485.9 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2989, allocations: 3.938 kB / 485.9 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.2999, allocations: 0.6372 MB / 486.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.2999, allocations: 15.89 kB / 486.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.2999, allocations: 8 kB / 486.6 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.3001, allocations: 19.92 kB / 486.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.3002, allocations: 11.92 kB / 486.6 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.3002, allocations: 15.97 kB / 486.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.3004, allocations: 144.5 kB / 486.8 MB, free: 8.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3004, allocations: 0 / 486.8 MB, free: 8.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003471/0.3007, allocations: 59.88 kB / 486.8 MB, free: 8.316 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.0001957/0.3009, allocations: 127.8 kB / 487 MB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005935/0.3015, allocations: 330.5 kB / 487.3 MB, free: 7.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3015, allocations: 4 kB / 487.3 MB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.3018, allocations: 189.2 kB / 487.5 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.0003797/0.3022, allocations: 39.72 kB / 487.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000797/0.303, allocations: 385.9 kB / 487.9 MB, free: 7.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.3031, allocations: 111.5 kB / 488 MB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.107e-05/0.3031, allocations: 24.58 kB / 488 MB, free: 7.027 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.3032, allocations: 12.5 kB / 488 MB, free: 7.012 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3032, allocations: 0 / 488 MB, free: 7.012 MB / 382.1 MB Notification: Performance of Templates: time 0.006678/0.3099, allocations: 2.464 MB / 490.5 MB, free: 4.574 MB / 382.1 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.TestPI.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.62258511595428] Failed to read output from testmodel.py, exit status != 0: 0.31875770911574364 0.33344662699999994 0.04074245899999994 Calling exit ...