Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.002035/0.002035, allocations: 81.5 kB / 19.44 MB, free: 344 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.002051/0.002051, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.599/1.599, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.003201/0.003201, allocations: 240.4 kB / 259.8 MB, free: 12.85 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 1.151/1.151, allocations: 138.4 MB / 454.7 MB, free: 1.449 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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.5544 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.864e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001653/0.001682, allocations: 0.5965 MB / 0.555 GB, free: 176 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007148/0.002397, allocations: 294.9 kB / 0.5552 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.581e-05/0.002412, allocations: 0 / 0.5552 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.133e-05/0.002424, allocations: 0 / 0.5552 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.002429, allocations: 0 / 0.5552 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.002897, allocations: 115.6 kB / 0.5554 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.664e-05/0.002933, allocations: 0 / 0.5554 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.113e-05/0.002964, allocations: 0 / 0.5554 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.774e-05/0.002992, allocations: 4 kB / 0.5554 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.269e-05/0.003015, allocations: 0 / 0.5554 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.003026, allocations: 0 / 0.5554 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004677/0.003494, allocations: 263.6 kB / 0.5556 GB, free: 15.51 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.003509, allocations: 0 / 0.5556 GB, free: 15.51 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.003528, allocations: 0 / 0.5556 GB, free: 15.51 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.003826, allocations: 119.6 kB / 0.5557 GB, free: 15.39 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.00383, allocations: 0 / 0.5557 GB, free: 15.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.003831, allocations: 4 kB / 0.5557 GB, free: 15.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.003837, allocations: 0 / 0.5557 GB, free: 15.39 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004947/0.004332, allocations: 356.2 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.004385, allocations: 12.75 kB / 0.5561 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.0045, allocations: 4.875 kB / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.004616, allocations: 104.6 kB / 0.5562 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.004629, allocations: 384 / 0.5562 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.004642, allocations: 4.375 kB / 0.5562 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.004748, allocations: 30.27 kB / 0.5562 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.004757, allocations: 192 / 0.5562 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.004767, allocations: 4.375 kB / 0.5562 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.004773, allocations: 384 / 0.5562 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.267e-05/0.004805, allocations: 11.92 kB / 0.5562 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.004982, allocations: 104.6 kB / 0.5563 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.005227, allocations: 35.02 kB / 0.5564 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.005252, allocations: 7.688 kB / 0.5564 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004042/0.005656, allocations: 44.03 kB / 0.5564 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.005703, allocations: 41.39 kB / 0.5565 GB, free: 14.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.005704, allocations: 0 / 0.5565 GB, free: 14.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002155/0.005919, allocations: 37.69 kB / 0.5565 GB, free: 14.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.005976, allocations: 55.34 kB / 0.5565 GB, free: 14.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.00607, allocations: 142.2 kB / 0.5567 GB, free: 14.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.00609, allocations: 25.7 kB / 0.5567 GB, free: 14.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.151e-05/0.006181, allocations: 126.9 kB / 0.5568 GB, free: 14.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.006224, allocations: 3.953 kB / 0.5568 GB, free: 14.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.006261, allocations: 23.38 kB / 0.5568 GB, free: 14.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002931/0.006554, allocations: 500 kB / 0.5573 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.889e-06/0.006564, allocations: 4.125 kB / 0.5573 GB, free: 13.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.00657, allocations: 4 kB / 0.5573 GB, free: 13.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.563e-05/0.006605, allocations: 15.67 kB / 0.5573 GB, free: 13.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006607, allocations: 0 / 0.5573 GB, free: 13.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.119e-05/0.006679, allocations: 29.7 kB / 0.5574 GB, free: 13.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.006694, allocations: 11.94 kB / 0.5574 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.006698, allocations: 0 / 0.5574 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.00671, allocations: 0 / 0.5574 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.118e-05/0.006751, allocations: 0 / 0.5574 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.006756, allocations: 4.094 kB / 0.5574 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.006768, allocations: 3.938 kB / 0.5574 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.006775, allocations: 4 kB / 0.5574 GB, free: 13.47 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 (1): * Single equations (assignments): 1 * 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 0.0001173/0.006893, allocations: 156.6 kB / 0.5575 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.006915, allocations: 3.984 kB / 0.5576 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.286e-05/0.007008, allocations: 40.64 kB / 0.5576 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.007009, allocations: 0 / 0.5576 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.007013, allocations: 0 / 0.5576 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.007018, allocations: 4 kB / 0.5576 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.007119, allocations: 124.6 kB / 0.5577 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.00712, allocations: 0 / 0.5577 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.086e-05/0.007131, allocations: 4 kB / 0.5577 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.007132, allocations: 0 / 0.5577 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.007137, allocations: 0 / 0.5577 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.007138, allocations: 3.938 kB / 0.5577 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007139, allocations: 0 / 0.5577 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.85e-05/0.007237, allocations: 68.39 kB / 0.5578 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.007246, allocations: 7.984 kB / 0.5578 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-06/0.007255, allocations: 0 / 0.5578 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-06/0.007262, allocations: 0 / 0.5578 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.007277, allocations: 4.031 kB / 0.5578 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.007279, allocations: 0 / 0.5578 GB, free: 12.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.079e-05/0.007339, allocations: 119.2 kB / 0.5579 GB, free: 12.87 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007339, allocations: 4 kB / 0.5579 GB, free: 12.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.007539, allocations: 8 kB / 0.5579 GB, free: 12.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 (1): * Single equations (assignments): 1 * 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.0001871/0.007726, allocations: 123 kB / 0.558 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.675e-05/0.007813, allocations: 15.62 kB / 0.5581 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.007815, allocations: 0 / 0.5581 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.552e-05/0.00783, allocations: 15.75 kB / 0.5581 GB, free: 12.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.00795, allocations: 5.562 kB / 0.5581 GB, free: 12.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002091/0.008159, allocations: 91.94 kB / 0.5582 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.651e-05/0.008215, allocations: 59.34 kB / 0.5582 GB, free: 12.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.352e-05/0.008229, allocations: 0 / 0.5582 GB, free: 12.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.008247, allocations: 8.5 kB / 0.5582 GB, free: 12.49 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008248, allocations: 0 / 0.5582 GB, free: 12.49 MB / 490.7 MB Notification: Performance of Templates: time 0.003001/0.01125, allocations: 0.4919 MB / 0.5587 GB, free: 12 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.845885054091923]