Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.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.0009123/0.0009123, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.0009204/0.0009204, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 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 0.9839/0.9839, allocations: 177.2 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001559/0.001559, allocations: 237 kB / 260.5 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7522/0.7522, allocations: 138.4 MB / 455.5 MB, free: 29.91 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.228e-05, allocations: 6.312 kB / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.001989/0.002012, allocations: 1.495 MB / 0.557 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005361/0.002548, allocations: 355.6 kB / 0.5574 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.002586, allocations: 0 / 0.5574 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.00261, allocations: 4 kB / 0.5574 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.002656, allocations: 7.875 kB / 0.5574 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.003014, allocations: 123.5 kB / 0.5575 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.542e-05/0.003069, allocations: 23.92 kB / 0.5575 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.475e-05/0.003144, allocations: 8 kB / 0.5575 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.487e-05/0.003199, allocations: 15.92 kB / 0.5576 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.856e-05/0.003228, allocations: 4 kB / 0.5576 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.003242, allocations: 4 kB / 0.5576 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.003497, allocations: 267.6 kB / 0.5578 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.003512, allocations: 3.984 kB / 0.5578 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.478e-05/0.003527, allocations: 11.94 kB / 0.5578 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.003704, allocations: 123.7 kB / 0.558 GB, free: 13.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.003707, allocations: 4 kB / 0.558 GB, free: 13.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.003708, allocations: 0 / 0.558 GB, free: 13.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.003712, allocations: 0 / 0.558 GB, free: 13.4 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000348/0.00406, allocations: 388.3 kB / 0.5583 GB, free: 12.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.004101, allocations: 13.94 kB / 0.5583 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.00417, allocations: 4.938 kB / 0.5584 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.729e-05/0.004247, allocations: 124.5 kB / 0.5585 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.004256, allocations: 384 / 0.5585 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.004267, allocations: 4.375 kB / 0.5585 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.955e-05/0.004366, allocations: 50.95 kB / 0.5585 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.004374, allocations: 4.188 kB / 0.5585 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.00438, allocations: 384 / 0.5585 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.004386, allocations: 4.312 kB / 0.5585 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.004406, allocations: 3.938 kB / 0.5585 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.004641, allocations: 240.4 kB / 0.5588 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.786e-05/0.004678, allocations: 27.06 kB / 0.5588 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.286e-05/0.004691, allocations: 11.69 kB / 0.5588 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.004967, allocations: 79.97 kB / 0.5589 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.004989, allocations: 37.38 kB / 0.5589 GB, free: 12.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.00499, allocations: 0 / 0.5589 GB, free: 12.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001377/0.005128, allocations: 53.53 kB / 0.559 GB, free: 12.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.005151, allocations: 51.41 kB / 0.559 GB, free: 12.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.544e-05/0.005216, allocations: 169.9 kB / 0.5592 GB, free: 12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.005227, allocations: 25.7 kB / 0.5592 GB, free: 11.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.005266, allocations: 126.9 kB / 0.5593 GB, free: 11.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.005281, allocations: 3.953 kB / 0.5593 GB, free: 11.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.005307, allocations: 19.38 kB / 0.5593 GB, free: 11.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.005419, allocations: 0.4884 MB / 0.5598 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.00543, allocations: 4 kB / 0.5598 GB, free: 11.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.788e-06/0.00544, allocations: 4.125 kB / 0.5598 GB, free: 11.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.509e-05/0.005465, allocations: 15.69 kB / 0.5598 GB, free: 11.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005467, allocations: 0 / 0.5598 GB, free: 11.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.17e-05/0.005539, allocations: 41.64 kB / 0.5599 GB, free: 11.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.005554, allocations: 7.984 kB / 0.5599 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.005558, allocations: 0 / 0.5599 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.005569, allocations: 3.938 kB / 0.5599 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.005617, allocations: 4 kB / 0.5599 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.00562, allocations: 3.984 kB / 0.5599 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.005636, allocations: 4.094 kB / 0.5599 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.00564, allocations: 4 kB / 0.5599 GB, free: 11.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.169e-05/0.005702, allocations: 164.6 kB / 0.5601 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.005729, allocations: 3.953 kB / 0.5601 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.378e-05/0.005802, allocations: 45.25 kB / 0.5601 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.005806, allocations: 3.938 kB / 0.5601 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.005807, allocations: 0 / 0.5601 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.00581, allocations: 4 kB / 0.5601 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.571e-05/0.005895, allocations: 101.2 kB / 0.5602 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005897, allocations: 256 / 0.5602 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.00592, allocations: 16.02 kB / 0.5602 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.005922, allocations: 0 / 0.5602 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.466e-06/0.005925, allocations: 0 / 0.5602 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.005926, allocations: 0 / 0.5602 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.005927, allocations: 0 / 0.5602 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.828e-05/0.006026, allocations: 187.9 kB / 0.5604 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.006035, allocations: 11.94 kB / 0.5604 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-06/0.006043, allocations: 4 kB / 0.5604 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.817e-05/0.006071, allocations: 3.938 kB / 0.5604 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.006099, allocations: 4 kB / 0.5604 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.006104, allocations: 11.95 kB / 0.5604 GB, free: 10.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.086e-05/0.006135, allocations: 123.2 kB / 0.5606 GB, free: 10.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006135, allocations: 0 / 0.5606 GB, free: 10.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001484/0.006284, allocations: 15.94 kB / 0.5606 GB, free: 10.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001272/0.006411, allocations: 107.2 kB / 0.5607 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.265e-05/0.006474, allocations: 19.69 kB / 0.5607 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.006475, allocations: 0 / 0.5607 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-05/0.006491, allocations: 11.69 kB / 0.5607 GB, free: 10.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.006668, allocations: 4.125 kB / 0.5607 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002166/0.006885, allocations: 121.4 kB / 0.5608 GB, free: 10.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.325e-05/0.006918, allocations: 63.28 kB / 0.5609 GB, free: 10.08 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.748e-05/0.006935, allocations: 0 / 0.5609 GB, free: 10.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.006979, allocations: 70.2 kB / 0.561 GB, free: 10.01 MB / 490.7 MB Notification: Performance of SimCode: time 6.42e-07/0.006979, allocations: 0 / 0.561 GB, free: 10.01 MB / 490.7 MB Notification: Performance of Templates: time 0.002435/0.009415, allocations: 0.8563 MB / 0.5618 GB, free: 9.164 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.58607075503096]