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.0006256/0.0006256, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009302/0.001556, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006922/0.0006922, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009211/0.001613, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9511/0.9511, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09576/1.047, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00158/0.00158, allocations: 228.3 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001257/0.002837, allocations: 471.7 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7163/0.7163, allocations: 138.7 MB / 384.3 MB, free: 356 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09775/0.8141, allocations: 42.41 MB / 426.7 MB, free: 5.812 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.293e-06/1.293e-06, allocations: 0 / 428.1 MB, free: 4.414 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.636e-05, allocations: 2.312 kB / 428.1 MB, free: 4.41 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001539/0.001555, allocations: 0.6587 MB / 428.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004554/0.00201, allocations: 306.8 kB / 429.1 MB, free: 3.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.769e-06/0.00202, allocations: 0 / 429.1 MB, free: 3.449 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.627e-06/0.002024, allocations: 0 / 429.1 MB, free: 3.449 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.172e-06/0.002025, allocations: 0 / 429.1 MB, free: 3.449 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.002275, allocations: 87.62 kB / 429.2 MB, free: 3.363 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.148e-05/0.002316, allocations: 4 kB / 429.2 MB, free: 3.359 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.232e-05/0.002348, allocations: 3.938 kB / 429.2 MB, free: 3.355 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.512e-05/0.002384, allocations: 4 kB / 429.2 MB, free: 3.352 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.028e-05/0.002414, allocations: 4 kB / 429.2 MB, free: 3.348 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.002425, allocations: 0 / 429.2 MB, free: 3.348 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.002843, allocations: 283.6 kB / 429.5 MB, free: 3.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.002854, allocations: 0 / 429.5 MB, free: 3.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.946e-06/0.002863, allocations: 0 / 429.5 MB, free: 3.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.003033, allocations: 91.77 kB / 429.5 MB, free: 2.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.003042, allocations: 0 / 429.5 MB, free: 2.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003043, allocations: 0 / 429.5 MB, free: 2.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.003053, allocations: 0 / 429.5 MB, free: 2.98 MB / 410.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.0002626/0.003316, allocations: 244.5 kB / 429.8 MB, free: 2.715 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.003346, allocations: 16.03 kB / 429.8 MB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.75e-05/0.003423, allocations: 82.03 kB / 429.9 MB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.045e-05/0.003484, allocations: 101.8 kB / 430 MB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.003494, allocations: 4.375 kB / 430 MB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.003502, allocations: 384 / 430 MB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.227e-05/0.003564, allocations: 26.27 kB / 430 MB, free: 2.441 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.003572, allocations: 4.125 kB / 430 MB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-06/0.003577, allocations: 384 / 430 MB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.003582, allocations: 384 / 430 MB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.141e-05/0.003593, allocations: 7.938 kB / 430 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.24e-05/0.003665, allocations: 61.03 kB / 430.1 MB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.101e-05/0.003696, allocations: 22.61 kB / 430.1 MB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.117e-05/0.003708, allocations: 8.859 kB / 430.1 MB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/0.003946, allocations: 48.02 kB / 430.2 MB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.003967, allocations: 34.56 kB / 430.2 MB, free: 2.223 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.003968, allocations: 0 / 430.2 MB, free: 2.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 9.095e-05/0.004059, allocations: 33.77 kB / 430.2 MB, free: 2.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.004084, allocations: 55.41 kB / 430.3 MB, free: 2.117 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.624e-05/0.00411, allocations: 89.86 kB / 430.4 MB, free: 2.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.004121, allocations: 29.69 kB / 430.4 MB, free: 1.984 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.933e-05/0.004141, allocations: 80.14 kB / 430.5 MB, free: 1.902 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.004163, allocations: 3.953 kB / 430.5 MB, free: 1.898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.004187, allocations: 13.72 kB / 430.5 MB, free: 1.879 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.004271, allocations: 314.8 kB / 430.8 MB, free: 1.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.549e-06/0.004275, allocations: 0 / 430.8 MB, free: 1.562 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-06/0.00428, allocations: 4 kB / 430.8 MB, free: 1.559 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.391e-05/0.004304, allocations: 12.86 kB / 430.8 MB, free: 1.543 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.004306, allocations: 0 / 430.8 MB, free: 1.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.486e-05/0.004361, allocations: 41.69 kB / 430.9 MB, free: 1.496 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.004372, allocations: 4 kB / 430.9 MB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.004375, allocations: 3.938 kB / 430.9 MB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.004386, allocations: 0 / 430.9 MB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.187e-05/0.004418, allocations: 4 kB / 430.9 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.00442, allocations: 0 / 430.9 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.944e-06/0.004428, allocations: 0 / 430.9 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.004432, allocations: 0 / 430.9 MB, free: 1.484 MB / 410.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 4.868e-05/0.004481, allocations: 113.8 kB / 431 MB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.004498, allocations: 4 kB / 431 MB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.663e-05/0.004555, allocations: 40.62 kB / 431 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.004556, allocations: 0 / 431 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.004557, allocations: 0 / 431 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.004559, allocations: 0 / 431 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.9e-05/0.004608, allocations: 65.83 kB / 431.1 MB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004609, allocations: 4 kB / 431.1 MB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-06/0.004615, allocations: 0 / 431.1 MB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-06/0.00462, allocations: 7.922 kB / 431.1 MB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.004621, allocations: 4.031 kB / 431.1 MB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-06/0.004626, allocations: 4 kB / 431.1 MB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.004626, allocations: 0 / 431.1 MB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.004627, allocations: 0 / 431.1 MB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.82e-05/0.004685, allocations: 61.02 kB / 431.2 MB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.004693, allocations: 4 kB / 431.2 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-06/0.0047, allocations: 3.984 kB / 431.2 MB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.00471, allocations: 3.984 kB / 431.2 MB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.004711, allocations: 0 / 431.2 MB, free: 1.125 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.672e-06/0.004718, allocations: 4.859 kB / 431.2 MB, free: 1.117 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004718, allocations: 4.031 kB / 431.2 MB, free: 1.113 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.00488, allocations: 12 kB / 431.2 MB, free: 1.102 MB / 410.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.0001187/0.004999, allocations: 92.34 kB / 431.3 MB, free: 1.004 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.515e-05/0.005044, allocations: 8.859 kB / 431.3 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.005048, allocations: 0 / 431.3 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.114e-05/0.005059, allocations: 12.8 kB / 431.3 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.545e-05/0.005114, allocations: 11.94 kB / 431.3 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001321/0.005246, allocations: 90.45 kB / 431.4 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.724e-05/0.005273, allocations: 55.36 kB / 431.5 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.434e-05/0.005288, allocations: 0 / 431.5 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.005313, allocations: 47.38 kB / 431.5 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.005313, allocations: 3.938 kB / 431.5 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of Templates: time 0.005027/0.01034, allocations: 493.1 kB / 432 MB, free: 248 kB / 410.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: 3.1895072208717465]