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.0009108/0.0009108, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009574/0.0009574, allocations: 165 kB / 23.02 MB, free: 1.547 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.9548/0.9548, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.001589/0.001589, allocations: 234.8 kB / 260.2 MB, free: 12.82 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.7734/0.7734, allocations: 138.4 MB / 455.2 MB, free: 1.531 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.432e-06/1.432e-06, allocations: 0 / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.385e-05, allocations: 8.922 kB / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002056/0.00208, allocations: 1.502 MB / 0.5566 GB, free: 15 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005352/0.002615, allocations: 359.6 kB / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.002653, allocations: 4 kB / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.00268, allocations: 3.938 kB / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.002722, allocations: 3.984 kB / 0.5569 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.003102, allocations: 123.5 kB / 0.5571 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.003163, allocations: 27.86 kB / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.776e-05/0.003241, allocations: 4 kB / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.567e-05/0.003287, allocations: 11.98 kB / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.268e-05/0.003319, allocations: 11.98 kB / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.003332, allocations: 0 / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.003597, allocations: 263.6 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.003618, allocations: 7.938 kB / 0.5574 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.003639, allocations: 7.984 kB / 0.5574 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.003844, allocations: 127.7 kB / 0.5575 GB, free: 14.06 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003846, allocations: 0 / 0.5575 GB, free: 14.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.003847, allocations: 0 / 0.5575 GB, free: 14.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.003852, allocations: 0 / 0.5575 GB, free: 14.06 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.000383/0.004236, allocations: 384.3 kB / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.004277, allocations: 8.75 kB / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.676e-05/0.004363, allocations: 12.88 kB / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.278e-05/0.004446, allocations: 124.5 kB / 0.558 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.004458, allocations: 4.375 kB / 0.558 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.004467, allocations: 4.375 kB / 0.558 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.004587, allocations: 50.95 kB / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.004595, allocations: 192 / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.004604, allocations: 384 / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.00461, allocations: 384 / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.073e-05/0.004641, allocations: 15.92 kB / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.0049, allocations: 239.9 kB / 0.5583 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.884e-05/0.004949, allocations: 35 kB / 0.5583 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.004968, allocations: 15.73 kB / 0.5584 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000314/0.005282, allocations: 79.92 kB / 0.5584 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.005301, allocations: 33.39 kB / 0.5585 GB, free: 12.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.005302, allocations: 0 / 0.5585 GB, free: 12.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001625/0.005464, allocations: 49.53 kB / 0.5585 GB, free: 12.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.005488, allocations: 51.53 kB / 0.5586 GB, free: 12.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.005565, allocations: 169.9 kB / 0.5587 GB, free: 12.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.005574, allocations: 25.7 kB / 0.5587 GB, free: 12.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.005617, allocations: 130.9 kB / 0.5589 GB, free: 12.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.005633, allocations: 7.938 kB / 0.5589 GB, free: 12.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.005659, allocations: 23.38 kB / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.005772, allocations: 492.1 kB / 0.5594 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.005786, allocations: 4 kB / 0.5594 GB, free: 11.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-06/0.005796, allocations: 0 / 0.5594 GB, free: 11.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.005823, allocations: 15.69 kB / 0.5594 GB, free: 11.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.005825, allocations: 4.062 kB / 0.5594 GB, free: 11.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.742e-05/0.005903, allocations: 45.62 kB / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.005916, allocations: 4 kB / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.005922, allocations: 7.875 kB / 0.5595 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.005937, allocations: 0 / 0.5595 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.006003, allocations: 8 kB / 0.5595 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.006008, allocations: 0 / 0.5595 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.006026, allocations: 3.984 kB / 0.5595 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.006031, allocations: 4 kB / 0.5595 GB, free: 11.84 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.17e-05/0.006093, allocations: 156.6 kB / 0.5596 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.006121, allocations: 11.95 kB / 0.5596 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.355e-05/0.006204, allocations: 49.25 kB / 0.5597 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.006206, allocations: 0 / 0.5597 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.00621, allocations: 0 / 0.5597 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.006213, allocations: 0 / 0.5597 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.441e-05/0.006308, allocations: 116.8 kB / 0.5598 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.00631, allocations: 4 kB / 0.5598 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.006333, allocations: 8 kB / 0.5598 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.006335, allocations: 0 / 0.5598 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.006343, allocations: 4 kB / 0.5598 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.006347, allocations: 11.95 kB / 0.5598 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.006347, allocations: 0 / 0.5598 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.00646, allocations: 180 kB / 0.56 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.006468, allocations: 3.953 kB / 0.56 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.00648, allocations: 8 kB / 0.56 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.264e-05/0.006513, allocations: 7.922 kB / 0.56 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.006548, allocations: 0 / 0.56 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.006552, allocations: 7.984 kB / 0.56 GB, free: 11.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.172e-05/0.006594, allocations: 127.2 kB / 0.5601 GB, free: 11.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006594, allocations: 0 / 0.5601 GB, free: 11.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.00675, allocations: 19.97 kB / 0.5602 GB, free: 11.07 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.0001252/0.006876, allocations: 111.2 kB / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.006947, allocations: 19.67 kB / 0.5603 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.006949, allocations: 0 / 0.5603 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.651e-05/0.006965, allocations: 11.69 kB / 0.5603 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.00714, allocations: 0 / 0.5603 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.007382, allocations: 125.4 kB / 0.5604 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.204e-05/0.007424, allocations: 59.34 kB / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.515e-05/0.007439, allocations: 7.875 kB / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.007462, allocations: 12.5 kB / 0.5605 GB, free: 10.66 MB / 490.7 MB Notification: Performance of SimCode: time 7.72e-07/0.007463, allocations: 0 / 0.5605 GB, free: 10.66 MB / 490.7 MB Notification: Performance of Templates: time 0.002609/0.01007, allocations: 0.7673 MB / 0.5612 GB, free: 9.906 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.747059192042798]