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.001682/0.001682, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001991/0.001991, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 207.6 MB / 235.3 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3812/0.3812, allocations: 49.56 MB / 337.1 MB, free: 4.102 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002292/0.002292, allocations: 72.27 kB / 477.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1832, allocations: 62.41 MB / 0.5273 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.005046/0.1882, allocations: 1.685 MB / 0.529 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.1905, allocations: 0.6992 MB / 0.5297 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.1907, allocations: 7.938 kB / 0.5297 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.191, allocations: 63.72 kB / 0.5297 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.1911, allocations: 55.73 kB / 0.5298 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007659/0.1919, allocations: 131.7 kB / 0.5299 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.1922, allocations: 155.6 kB / 0.5301 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1923, allocations: 17.62 kB / 0.5301 GB, free: 11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.1925, allocations: 79.67 kB / 0.5302 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.1927, allocations: 103.7 kB / 0.5303 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.1927, allocations: 8 kB / 0.5303 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.1929, allocations: 79.94 kB / 0.5303 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.189e-05/0.193, allocations: 39.84 kB / 0.5304 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.1931, allocations: 71.59 kB / 0.5304 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.1935, allocations: 199.2 kB / 0.5306 GB, free: 10.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1935, allocations: 0 / 0.5306 GB, free: 10.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1935, allocations: 0 / 0.5306 GB, free: 10.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1935, allocations: 0 / 0.5306 GB, free: 10.43 MB / 414.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.001062/0.1946, allocations: 452.8 kB / 0.5311 GB, free: 9.949 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.1946, allocations: 8.031 kB / 0.5311 GB, free: 9.941 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.212e-05/0.1947, allocations: 24.8 kB / 0.5311 GB, free: 9.918 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.1951, allocations: 178 kB / 0.5313 GB, free: 9.719 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.1952, allocations: 4.375 kB / 0.5313 GB, free: 9.715 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.1952, allocations: 8.375 kB / 0.5313 GB, free: 9.707 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.1956, allocations: 172.4 kB / 0.5314 GB, free: 9.523 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.1956, allocations: 7.984 kB / 0.5314 GB, free: 9.516 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.1956, allocations: 7.938 kB / 0.5315 GB, free: 9.508 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1956, allocations: 0 / 0.5315 GB, free: 9.508 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.1959, allocations: 99.88 kB / 0.5316 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000797/0.1967, allocations: 0.4961 MB / 0.532 GB, free: 8.863 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.197, allocations: 134.5 kB / 0.5322 GB, free: 8.723 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.1972, allocations: 92.94 kB / 0.5323 GB, free: 8.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1972, allocations: 0 / 0.5323 GB, free: 8.629 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000362/0.1976, allocations: 181 kB / 0.5324 GB, free: 8.434 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.1976, allocations: 0 / 0.5324 GB, free: 8.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009315/0.1985, allocations: 431 kB / 0.5328 GB, free: 8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.1986, allocations: 81.11 kB / 0.5329 GB, free: 7.902 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.1988, allocations: 206.8 kB / 0.5331 GB, free: 7.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.1988, allocations: 25.7 kB / 0.5331 GB, free: 7.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.199, allocations: 120.5 kB / 0.5333 GB, free: 7.535 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.199, allocations: 51.61 kB / 0.5333 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.421e-05/0.1991, allocations: 45.64 kB / 0.5333 GB, free: 7.434 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1993, allocations: 334.8 kB / 0.5337 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.1994, allocations: 75.95 kB / 0.5337 GB, free: 7.023 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.1996, allocations: 120.2 kB / 0.5338 GB, free: 6.891 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.2007, allocations: 486.8 kB / 0.5343 GB, free: 6.375 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2007, allocations: 0 / 0.5343 GB, free: 6.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006004/0.2013, allocations: 327 kB / 0.5346 GB, free: 6.043 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.2013, allocations: 33.7 kB / 0.5347 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2013, allocations: 0 / 0.5347 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.2014, allocations: 4 kB / 0.5347 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.2015, allocations: 36.03 kB / 0.5347 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.2015, allocations: 4 kB / 0.5347 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.2017, allocations: 23.86 kB / 0.5347 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.2017, allocations: 8 kB / 0.5347 GB, free: 5.93 MB / 414.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.0002667/0.2019, allocations: 184 kB / 0.5349 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.202, allocations: 19.91 kB / 0.5349 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/0.202, allocations: 25.8 kB / 0.5349 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.202, allocations: 4 kB / 0.535 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.2021, allocations: 0 / 0.535 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.2021, allocations: 3.938 kB / 0.535 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.2032, allocations: 0.6667 MB / 0.5356 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2032, allocations: 4 kB / 0.5356 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.2032, allocations: 7.938 kB / 0.5356 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.2032, allocations: 4 kB / 0.5356 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.2033, allocations: 7.938 kB / 0.5356 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2033, allocations: 0 / 0.5356 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2033, allocations: 0 / 0.5356 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.2043, allocations: 0.5634 MB / 0.5362 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.2043, allocations: 27.92 kB / 0.5362 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.2044, allocations: 8 kB / 0.5362 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.2045, allocations: 11.98 kB / 0.5362 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.2046, allocations: 7.984 kB / 0.5362 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.2046, allocations: 15.98 kB / 0.5362 GB, free: 4.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.2047, allocations: 148.2 kB / 0.5364 GB, free: 4.129 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2047, allocations: 0 / 0.5364 GB, free: 4.129 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003247/0.2051, allocations: 63.83 kB / 0.5365 GB, free: 4.066 MB / 414.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.000251/0.2053, allocations: 139.1 kB / 0.5366 GB, free: 3.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006324/0.206, allocations: 263.1 kB / 0.5368 GB, free: 3.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.206, allocations: 0 / 0.5368 GB, free: 3.652 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.2062, allocations: 163.5 kB / 0.537 GB, free: 3.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.2066, allocations: 44.78 kB / 0.537 GB, free: 3.438 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009479/0.2076, allocations: 385.8 kB / 0.5374 GB, free: 3.027 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.2081, allocations: 0.7318 MB / 0.5381 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.2082, allocations: 11.44 kB / 0.5381 GB, free: 2.258 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2082, allocations: 0 / 0.5381 GB, free: 2.258 MB / 414.1 MB Notification: Performance of Templates: time 0.3368/0.5449, allocations: 2.312 MB / 0.5404 GB, free: 22.69 MB / 414.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.817170000867918] Failed to read output from testmodel.py, exit status != 0: 0.5554877410177141 0.568635618 0.37196771900000003 Calling exit ...