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.001042/0.001042, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001083/0.001083, allocations: 173 kB / 24.06 MB, free: 452 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.028/1.028, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.002513/0.002513, allocations: 241.7 kB / 261.3 MB, free: 12.68 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.7846/0.7846, allocations: 138.4 MB / 456.3 MB, free: 1.434 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.333e-06/1.333e-06, allocations: 0 / 0.5564 GB, free: 248 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.796e-05, allocations: 2.312 kB / 0.5564 GB, free: 244 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.001719/0.001737, allocations: 1.483 MB / 0.5578 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004892/0.002226, allocations: 363.6 kB / 0.5582 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.002257, allocations: 7.938 kB / 0.5582 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.00228, allocations: 7.938 kB / 0.5582 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.026e-05/0.00232, allocations: 0 / 0.5582 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.00263, allocations: 107.6 kB / 0.5583 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.628e-05/0.002687, allocations: 31.86 kB / 0.5583 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.65e-05/0.002753, allocations: 7.984 kB / 0.5583 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.452e-05/0.002798, allocations: 11.98 kB / 0.5583 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.908e-05/0.002827, allocations: 15.98 kB / 0.5584 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.002837, allocations: 0 / 0.5584 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.003079, allocations: 255.6 kB / 0.5586 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.003094, allocations: 11.98 kB / 0.5586 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.316e-05/0.003107, allocations: 7.875 kB / 0.5586 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.003277, allocations: 131.7 kB / 0.5587 GB, free: 13.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.003279, allocations: 0 / 0.5587 GB, free: 13.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.00328, allocations: 0 / 0.5587 GB, free: 13.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.003284, allocations: 0 / 0.5587 GB, free: 13.79 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.0003075/0.003592, allocations: 384.4 kB / 0.5591 GB, free: 13.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.003621, allocations: 8.75 kB / 0.5591 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.003675, allocations: 12.89 kB / 0.5591 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.093e-05/0.003746, allocations: 112.5 kB / 0.5592 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.003756, allocations: 4.375 kB / 0.5592 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.003763, allocations: 8.359 kB / 0.5593 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.186e-05/0.003845, allocations: 62.81 kB / 0.5593 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.003852, allocations: 192 / 0.5593 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.003857, allocations: 384 / 0.5593 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.003862, allocations: 384 / 0.5593 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.901e-05/0.003881, allocations: 7.938 kB / 0.5593 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.004061, allocations: 224.4 kB / 0.5595 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.84e-05/0.004099, allocations: 39.09 kB / 0.5596 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.288e-05/0.004112, allocations: 7.688 kB / 0.5596 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002497/0.004362, allocations: 75.92 kB / 0.5597 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.00438, allocations: 37.39 kB / 0.5597 GB, free: 12.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.004381, allocations: 4 kB / 0.5597 GB, free: 12.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001149/0.004496, allocations: 45.59 kB / 0.5597 GB, free: 12.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.004521, allocations: 55.39 kB / 0.5598 GB, free: 12.58 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.856e-05/0.00458, allocations: 161.9 kB / 0.5599 GB, free: 12.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.00459, allocations: 25.7 kB / 0.56 GB, free: 12.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.004629, allocations: 134.8 kB / 0.5601 GB, free: 12.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.004643, allocations: 7.953 kB / 0.5601 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.004666, allocations: 19.38 kB / 0.5601 GB, free: 12.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.004767, allocations: 496.1 kB / 0.5606 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-06/0.004776, allocations: 4.062 kB / 0.5606 GB, free: 11.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-06/0.004782, allocations: 4 kB / 0.5606 GB, free: 11.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.2e-05/0.004804, allocations: 15.67 kB / 0.5606 GB, free: 11.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.004806, allocations: 0 / 0.5606 GB, free: 11.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.017e-05/0.004856, allocations: 41.7 kB / 0.5607 GB, free: 11.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.004864, allocations: 4 kB / 0.5607 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.004868, allocations: 3.984 kB / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.004876, allocations: 3.938 kB / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.817e-05/0.004914, allocations: 7.984 kB / 0.5607 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-06/0.004916, allocations: 8.094 kB / 0.5607 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.378e-05/0.00493, allocations: 0 / 0.5607 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-06/0.004933, allocations: 4.188 kB / 0.5607 GB, free: 11.6 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 4.994e-05/0.004983, allocations: 156.6 kB / 0.5608 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.005007, allocations: 3.953 kB / 0.5608 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.528e-05/0.005063, allocations: 45.31 kB / 0.5609 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.005066, allocations: 15.88 kB / 0.5609 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.005067, allocations: 0 / 0.5609 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.005069, allocations: 0 / 0.5609 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.91e-05/0.005148, allocations: 101.2 kB / 0.561 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005149, allocations: 4.031 kB / 0.561 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.005166, allocations: 4 kB / 0.561 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.005167, allocations: 0 / 0.561 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-06/0.005171, allocations: 0 / 0.561 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.005173, allocations: 4 kB / 0.561 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005173, allocations: 0 / 0.561 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.062e-05/0.005254, allocations: 191.8 kB / 0.5612 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-06/0.005259, allocations: 7.953 kB / 0.5612 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-06/0.005265, allocations: 0 / 0.5612 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.99e-05/0.005295, allocations: 7.984 kB / 0.5612 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.005316, allocations: 4.031 kB / 0.5612 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.005318, allocations: 3.938 kB / 0.5612 GB, free: 11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.33e-05/0.005352, allocations: 123.2 kB / 0.5613 GB, free: 10.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005352, allocations: 0 / 0.5613 GB, free: 10.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001467/0.005498, allocations: 23.92 kB / 0.5614 GB, free: 10.86 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 9.343e-05/0.005592, allocations: 107.2 kB / 0.5615 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.448e-05/0.005646, allocations: 23.61 kB / 0.5615 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.12e-07/0.005647, allocations: 0 / 0.5615 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.516e-05/0.005662, allocations: 15.75 kB / 0.5615 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.005816, allocations: 2.578 kB / 0.5615 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001706/0.005987, allocations: 113.4 kB / 0.5616 GB, free: 10.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.78e-05/0.006015, allocations: 59.3 kB / 0.5617 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.325e-05/0.006028, allocations: 0 / 0.5617 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.006062, allocations: 74.19 kB / 0.5617 GB, free: 10.41 MB / 490.7 MB Notification: Performance of SimCode: time 3.6e-07/0.006062, allocations: 0 / 0.5617 GB, free: 10.41 MB / 490.7 MB Notification: Performance of Templates: time 0.002087/0.008149, allocations: 0.8799 MB / 0.5626 GB, free: 9.539 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.738829622976482]