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.001118/0.001118, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001199/0.001199, allocations: 173 kB / 23.49 MB, free: 1.062 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 1.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.001739/0.001739, allocations: 234 kB / 260.5 MB, free: 12.89 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.7311/0.7311, allocations: 138.4 MB / 455.4 MB, free: 1.566 MB / 362.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.603e-06/1.603e-06, allocations: 0 / 0.555 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.648e-05, allocations: 5.547 kB / 0.555 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.001941/0.001967, allocations: 1.495 MB / 0.5565 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005955/0.002563, allocations: 375.5 kB / 0.5569 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.002596, allocations: 4 kB / 0.5569 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.002622, allocations: 0 / 0.5569 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.437e-05/0.002667, allocations: 3.938 kB / 0.5569 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.003055, allocations: 115.6 kB / 0.557 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.634e-05/0.003121, allocations: 19.88 kB / 0.557 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.184e-05/0.003213, allocations: 11.98 kB / 0.557 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.228e-05/0.003266, allocations: 8 kB / 0.557 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.486e-05/0.0033, allocations: 11.98 kB / 0.557 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.003315, allocations: 0 / 0.557 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.00359, allocations: 267.6 kB / 0.5573 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.003607, allocations: 11.92 kB / 0.5573 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.897e-05/0.003626, allocations: 0 / 0.5573 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.003818, allocations: 131.7 kB / 0.5574 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00382, allocations: 0 / 0.5574 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003821, allocations: 0 / 0.5574 GB, free: 14.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.003825, allocations: 0 / 0.5574 GB, free: 14.45 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.0003852/0.00421, allocations: 384.4 kB / 0.5578 GB, free: 14.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.00425, allocations: 12.69 kB / 0.5578 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.227e-05/0.004332, allocations: 16.83 kB / 0.5578 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.39e-05/0.004426, allocations: 112.6 kB / 0.5579 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.004438, allocations: 4.375 kB / 0.5579 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.004447, allocations: 384 / 0.5579 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.004566, allocations: 58.92 kB / 0.558 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.004572, allocations: 192 / 0.558 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.004582, allocations: 384 / 0.558 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.00459, allocations: 384 / 0.558 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.067e-05/0.004621, allocations: 7.938 kB / 0.558 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.004893, allocations: 251.8 kB / 0.5582 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.033e-05/0.004943, allocations: 35.06 kB / 0.5583 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/0.004964, allocations: 11.75 kB / 0.5583 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/0.005261, allocations: 75.92 kB / 0.5583 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.00528, allocations: 37.39 kB / 0.5584 GB, free: 13.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.005281, allocations: 0 / 0.5584 GB, free: 13.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001754/0.005456, allocations: 53.52 kB / 0.5584 GB, free: 13.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.005486, allocations: 51.41 kB / 0.5585 GB, free: 13.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.005566, allocations: 165.9 kB / 0.5586 GB, free: 13.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.005575, allocations: 25.7 kB / 0.5587 GB, free: 12.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.005624, allocations: 130.9 kB / 0.5588 GB, free: 12.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.005643, allocations: 3.953 kB / 0.5588 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.005671, allocations: 23.38 kB / 0.5588 GB, free: 12.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.005784, allocations: 496.1 kB / 0.5593 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.005797, allocations: 8.125 kB / 0.5593 GB, free: 12.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.003e-05/0.005807, allocations: 0 / 0.5593 GB, free: 12.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.657e-05/0.005834, allocations: 15.69 kB / 0.5593 GB, free: 12.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.005835, allocations: 0 / 0.5593 GB, free: 12.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.206e-05/0.005897, allocations: 41.64 kB / 0.5593 GB, free: 12.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.005909, allocations: 4 kB / 0.5594 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.005915, allocations: 7.922 kB / 0.5594 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.005927, allocations: 0 / 0.5594 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.162e-05/0.005978, allocations: 8 kB / 0.5594 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.005983, allocations: 96 / 0.5594 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.005998, allocations: 7.938 kB / 0.5594 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.006003, allocations: 4.25 kB / 0.5594 GB, free: 12.22 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 5.863e-05/0.006062, allocations: 156.6 kB / 0.5595 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.006086, allocations: 11.94 kB / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.906e-05/0.006165, allocations: 53.19 kB / 0.5596 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.006166, allocations: 0 / 0.5596 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.006171, allocations: 4 kB / 0.5596 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006173, allocations: 0 / 0.5596 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.921e-05/0.006263, allocations: 108.6 kB / 0.5597 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.006265, allocations: 8.016 kB / 0.5597 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.006287, allocations: 8 kB / 0.5597 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006289, allocations: 0 / 0.5597 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.0063, allocations: 0 / 0.5597 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.006302, allocations: 3.938 kB / 0.5597 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006303, allocations: 0 / 0.5597 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.006403, allocations: 187.9 kB / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-06/0.006409, allocations: 3.953 kB / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.006419, allocations: 4 kB / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-05/0.006451, allocations: 7.938 kB / 0.5599 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.006486, allocations: 11.95 kB / 0.5599 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.006489, allocations: 4 kB / 0.5599 GB, free: 11.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.626e-05/0.006525, allocations: 123.2 kB / 0.56 GB, free: 11.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006525, allocations: 0 / 0.56 GB, free: 11.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001519/0.006677, allocations: 15.94 kB / 0.5601 GB, free: 11.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.0001207/0.006798, allocations: 111.2 kB / 0.5602 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.067e-05/0.006879, allocations: 15.69 kB / 0.5602 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.00688, allocations: 0 / 0.5602 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.006897, allocations: 15.75 kB / 0.5602 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.007064, allocations: 3.984 kB / 0.5602 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.007284, allocations: 121.3 kB / 0.5603 GB, free: 11.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.643e-05/0.007321, allocations: 55.36 kB / 0.5604 GB, free: 11.08 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.542e-05/0.007336, allocations: 0 / 0.5604 GB, free: 11.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.007356, allocations: 12.5 kB / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007356, allocations: 0 / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of Templates: time 0.002099/0.009455, allocations: 0.7702 MB / 0.5611 GB, free: 10.3 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.732068895129487]