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.001423/0.001423, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001519/0.001519, allocations: 181 kB / 23.36 MB, free: 1.133 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.9936/0.9936, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.001806/0.001806, allocations: 249.6 kB / 260.5 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.8053/0.8053, allocations: 138.4 MB / 402.2 MB, free: 0.5 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.583e-06/1.583e-06, allocations: 0 / 462.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.388e-05, allocations: 3.078 kB / 462.4 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002541/0.002565, allocations: 1.546 MB / 463.9 MB, free: 15.87 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006217/0.003187, allocations: 369.2 kB / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.003224, allocations: 0 / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.003256, allocations: 5.891 kB / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.003305, allocations: 4 kB / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.003699, allocations: 94.89 kB / 464.4 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.605e-05/0.003765, allocations: 26.52 kB / 464.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.212e-05/0.003837, allocations: 12.61 kB / 464.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.776e-05/0.003895, allocations: 9.203 kB / 464.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.655e-05/0.003931, allocations: 12.72 kB / 464.4 MB, free: 15.58 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.003945, allocations: 3.125 kB / 464.4 MB, free: 15.58 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004134/0.004358, allocations: 282.5 kB / 464.7 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.004376, allocations: 5.531 kB / 464.7 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.928e-05/0.004395, allocations: 9.828 kB / 464.7 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.00462, allocations: 132.4 kB / 464.9 MB, free: 15.47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.004622, allocations: 0.6562 kB / 464.9 MB, free: 15.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004623, allocations: 0 / 464.9 MB, free: 15.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.004628, allocations: 0.875 kB / 464.9 MB, free: 15.47 MB / 426.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.0003412/0.004969, allocations: 258.4 kB / 465.1 MB, free: 15.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.005005, allocations: 9.688 kB / 465.1 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.005079, allocations: 4.344 kB / 465.1 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.673e-05/0.005176, allocations: 118.1 kB / 465.2 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.005185, allocations: 384 / 465.2 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.005192, allocations: 5.812 kB / 465.2 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.005295, allocations: 56.86 kB / 465.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.005303, allocations: 192 / 465.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.005311, allocations: 1.375 kB / 465.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.005318, allocations: 2.906 kB / 465.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.00534, allocations: 8.875 kB / 465.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.005584, allocations: 148.7 kB / 465.5 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.282e-05/0.005627, allocations: 24.81 kB / 465.5 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.378e-05/0.005641, allocations: 9.609 kB / 465.5 MB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.005929, allocations: 71.36 kB / 465.6 MB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.005954, allocations: 37.72 kB / 465.6 MB, free: 14.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.005955, allocations: 1.281 kB / 465.6 MB, free: 14.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001396/0.006095, allocations: 35.56 kB / 465.6 MB, free: 14.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.006123, allocations: 58.84 kB / 465.7 MB, free: 14.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.006178, allocations: 108.5 kB / 465.8 MB, free: 14.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.006187, allocations: 31.05 kB / 465.8 MB, free: 14.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.006216, allocations: 86.12 kB / 465.9 MB, free: 14.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.006233, allocations: 6.875 kB / 465.9 MB, free: 14.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.006259, allocations: 12.48 kB / 465.9 MB, free: 14.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.017e-05/0.006339, allocations: 319.4 kB / 466.2 MB, free: 14.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-06/0.006348, allocations: 3.328 kB / 466.2 MB, free: 14.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-06/0.006356, allocations: 1.156 kB / 466.2 MB, free: 14.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.568e-05/0.006382, allocations: 12.12 kB / 466.3 MB, free: 14.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.006384, allocations: 0 / 466.3 MB, free: 14.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.485e-05/0.006448, allocations: 36.8 kB / 466.3 MB, free: 14.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.006464, allocations: 5.562 kB / 466.3 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.006468, allocations: 1.219 kB / 466.3 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.006481, allocations: 0.9062 kB / 466.3 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.006532, allocations: 14.67 kB / 466.3 MB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.006536, allocations: 5.781 kB / 466.3 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.006552, allocations: 2.969 kB / 466.3 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.006557, allocations: 6.297 kB / 466.3 MB, free: 14.09 MB / 426.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.274e-05/0.00661, allocations: 112.6 kB / 466.4 MB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.006639, allocations: 3.75 kB / 466.4 MB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.327e-05/0.006712, allocations: 44.98 kB / 466.5 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.006714, allocations: 1.438 kB / 466.5 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.006717, allocations: 5.219 kB / 466.5 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.00672, allocations: 3.125 kB / 466.5 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.521e-05/0.006805, allocations: 65.22 kB / 466.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.006807, allocations: 0 / 466.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.00683, allocations: 6.531 kB / 466.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.006832, allocations: 3.141 kB / 466.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-06/0.006836, allocations: 0 / 466.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.006837, allocations: 3.938 kB / 466.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.006839, allocations: 2.297 kB / 466.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.2e-05/0.006921, allocations: 132.7 kB / 466.7 MB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.006928, allocations: 6.266 kB / 466.7 MB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.006938, allocations: 7 kB / 466.7 MB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.701e-05/0.006975, allocations: 3.188 kB / 466.7 MB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.007004, allocations: 4.125 kB / 466.7 MB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.007007, allocations: 0.6562 kB / 466.7 MB, free: 13.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.518e-05/0.007022, allocations: 19.3 kB / 466.7 MB, free: 13.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.007022, allocations: 1.375 kB / 466.8 MB, free: 13.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001386/0.007161, allocations: 17.08 kB / 466.8 MB, free: 13.7 MB / 426.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.0001356/0.007297, allocations: 93.27 kB / 466.9 MB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.823e-05/0.007355, allocations: 16.31 kB / 466.9 MB, free: 13.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.007359, allocations: 5.062 kB / 466.9 MB, free: 13.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.585e-05/0.007374, allocations: 10.41 kB / 466.9 MB, free: 13.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.007508, allocations: 4.625 kB / 466.9 MB, free: 13.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.007718, allocations: 107.9 kB / 467 MB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.007751, allocations: 56.17 kB / 467.1 MB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.714e-05/0.007768, allocations: 2.703 kB / 467.1 MB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.007806, allocations: 53.22 kB / 467.1 MB, free: 13.38 MB / 426.7 MB Notification: Performance of SimCode: time 7.61e-07/0.007807, allocations: 0 / 467.1 MB, free: 13.38 MB / 426.7 MB Notification: Performance of Templates: time 0.002586/0.01039, allocations: 0.8103 MB / 467.9 MB, free: 12.84 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6875657690688968]