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.00178/0.00178, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001913/0.001913, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.51/1.51, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.1468/0.1468, allocations: 19.74 MB / 280.8 MB, free: 9.293 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.884e-06/1.884e-06, allocations: 0 / 357.2 MB, free: 6.977 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.307e-05/3.496e-05, allocations: 5.547 kB / 357.2 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.003524/0.003559, allocations: 1.665 MB / 358.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.004894, allocations: 0.6504 MB / 359.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.084e-05/0.004965, allocations: 4 kB / 359.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.005167, allocations: 47.75 kB / 359.6 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.005271, allocations: 59.73 kB / 359.6 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.005726, allocations: 123.5 kB / 359.7 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.005972, allocations: 159.5 kB / 359.9 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.006062, allocations: 21.62 kB / 359.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.006213, allocations: 91.78 kB / 360 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.006392, allocations: 87.81 kB / 360.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.006428, allocations: 12 kB / 360.1 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.006593, allocations: 79.92 kB / 360.2 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.088e-05/0.006664, allocations: 35.84 kB / 360.2 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.593e-05/0.00674, allocations: 39.84 kB / 360.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.007086, allocations: 211.3 kB / 360.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.007089, allocations: 0 / 360.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00709, allocations: 0 / 360.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.007094, allocations: 4 kB / 360.5 MB, free: 3.672 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.0009112/0.008005, allocations: 0.5535 MB / 361 MB, free: 3.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.008042, allocations: 12.03 kB / 361 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.00812, allocations: 24.8 kB / 361.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.008411, allocations: 177.7 kB / 361.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.008432, allocations: 8.375 kB / 361.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.224e-05/0.008474, allocations: 8.359 kB / 361.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.00884, allocations: 190.9 kB / 361.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.00885, allocations: 192 / 361.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.008871, allocations: 8.375 kB / 361.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.008878, allocations: 3.938 kB / 361.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.009104, allocations: 101.6 kB / 361.6 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007805/0.009884, allocations: 0.6107 MB / 362.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.0102, allocations: 144.6 kB / 362.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.0104, allocations: 101.4 kB / 362.4 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.01043, allocations: 8.031 kB / 362.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003457/0.01077, allocations: 192.4 kB / 362.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.01077, allocations: 0 / 362.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008737/0.01165, allocations: 402.5 kB / 363 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/0.01172, allocations: 85.11 kB / 363.1 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.01202, allocations: 273.6 kB / 363.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.01205, allocations: 29.7 kB / 363.4 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.01218, allocations: 171.1 kB / 363.5 MB, free: 340 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.01224, allocations: 47.81 kB / 363.6 MB, free: 292 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.01234, allocations: 55.36 kB / 363.6 MB, free: 228 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003518/0.01269, allocations: 0.5079 MB / 364.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.01287, allocations: 85.67 kB / 364.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.01309, allocations: 140.1 kB / 364.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000552/0.01364, allocations: 322 kB / 364.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01364, allocations: 3.938 kB / 364.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005459/0.01419, allocations: 296.8 kB / 365 MB, free: 14.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.01424, allocations: 37.83 kB / 365 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.01424, allocations: 4 kB / 365 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.01426, allocations: 3.984 kB / 365 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.0144, allocations: 27.94 kB / 365 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.01442, allocations: 7.984 kB / 365.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.01453, allocations: 19.89 kB / 365.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.01455, allocations: 8 kB / 365.1 MB, free: 14.67 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.0002417/0.01479, allocations: 222.1 kB / 365.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.01484, allocations: 27.86 kB / 365.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.01488, allocations: 21.8 kB / 365.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01488, allocations: 4 kB / 365.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.01489, allocations: 0 / 365.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.01489, allocations: 0 / 365.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.016, allocations: 0.6594 MB / 366 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.016, allocations: 0 / 366 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.931e-05/0.01605, allocations: 4 kB / 366 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.01606, allocations: 7.938 kB / 366 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.01608, allocations: 7.984 kB / 366 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01608, allocations: 8 kB / 366 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01608, allocations: 0 / 366 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009614/0.01704, allocations: 0.5983 MB / 366.6 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/0.01707, allocations: 11.91 kB / 366.6 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.01711, allocations: 4 kB / 366.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.01726, allocations: 15.98 kB / 366.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.01731, allocations: 7.984 kB / 366.7 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.01734, allocations: 19.95 kB / 366.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001569/0.0175, allocations: 184.2 kB / 366.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0175, allocations: 0 / 366.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003165/0.01781, allocations: 59.92 kB / 366.9 MB, free: 12.71 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.0002059/0.01802, allocations: 123.2 kB / 367.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00056/0.01858, allocations: 302.3 kB / 367.3 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01858, allocations: 4.188 kB / 367.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.01886, allocations: 196.7 kB / 367.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.01924, allocations: 45.05 kB / 367.6 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/0.01995, allocations: 360.3 kB / 367.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.02009, allocations: 111.4 kB / 368 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.353e-05/0.02013, allocations: 16.64 kB / 368.1 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.02017, allocations: 12.5 kB / 368.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02017, allocations: 0 / 368.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of Templates: time 0.006937/0.02711, allocations: 2.456 MB / 370.5 MB, free: 9.031 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: 4.47754326404538]