Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001125/0.001125, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001148/0.001148, allocations: 161 kB / 24.16 MB, free: 332 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 0.993/0.993, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.984/1.984, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.7752 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.545e-05, allocations: 3.844 kB / 0.7752 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001789/0.001815, allocations: 0.6149 MB / 0.7758 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007144/0.002529, allocations: 304.3 kB / 0.7761 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.747e-05/0.002547, allocations: 1.688 kB / 0.7761 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.002561, allocations: 1.5 kB / 0.7761 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.534e-06/0.002568, allocations: 0 / 0.7761 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.003035, allocations: 108.7 kB / 0.7762 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.322e-05/0.003078, allocations: 4.875 kB / 0.7762 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.003115, allocations: 0.9062 kB / 0.7762 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.798e-05/0.003143, allocations: 0 / 0.7762 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.623e-05/0.00317, allocations: 0 / 0.7762 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.003183, allocations: 4.656 kB / 0.7762 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003895/0.003573, allocations: 256.3 kB / 0.7765 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.003586, allocations: 0.75 kB / 0.7765 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.124e-05/0.003598, allocations: 4 kB / 0.7765 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.003795, allocations: 118.6 kB / 0.7766 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003798, allocations: 0 / 0.7766 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.51e-07/0.003799, allocations: 0 / 0.7766 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.003802, allocations: 0 / 0.7766 GB, free: 3.965 MB / 0.7292 GB 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.0002357/0.004038, allocations: 239.2 kB / 0.7768 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.004075, allocations: 9.344 kB / 0.7768 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.004138, allocations: 4.938 kB / 0.7768 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.02e-05/0.004199, allocations: 105.8 kB / 0.7769 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.004208, allocations: 1.031 kB / 0.7769 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.004216, allocations: 384 / 0.7769 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.389e-05/0.00428, allocations: 30.27 kB / 0.7769 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.004287, allocations: 5.891 kB / 0.777 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.004294, allocations: 4.359 kB / 0.777 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004299, allocations: 384 / 0.777 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.184e-05/0.004311, allocations: 8.641 kB / 0.777 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.445e-05/0.004386, allocations: 57.86 kB / 0.777 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.79e-05/0.004423, allocations: 18.56 kB / 0.777 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.327e-05/0.004437, allocations: 13.45 kB / 0.7771 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.004705, allocations: 43.41 kB / 0.7771 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.00473, allocations: 31.11 kB / 0.7771 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/0.004732, allocations: 0 / 0.7771 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001106/0.004842, allocations: 37.62 kB / 0.7772 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.004872, allocations: 51.41 kB / 0.7772 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.282e-05/0.004905, allocations: 96.61 kB / 0.7773 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.004917, allocations: 30.58 kB / 0.7773 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.318e-05/0.00494, allocations: 80.14 kB / 0.7774 GB, free: 3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.00497, allocations: 352 / 0.7774 GB, free: 3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.004996, allocations: 13.72 kB / 0.7774 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.005093, allocations: 314.8 kB / 0.7777 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-06/0.005099, allocations: 0 / 0.7777 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-06/0.005105, allocations: 2.344 kB / 0.7777 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.908e-05/0.005134, allocations: 16.83 kB / 0.7777 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005136, allocations: 1.203 kB / 0.7777 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.609e-05/0.005202, allocations: 33.64 kB / 0.7778 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.005215, allocations: 8 kB / 0.7778 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.005219, allocations: 1.75 kB / 0.7778 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.00523, allocations: 0 / 0.7778 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.517e-05/0.005265, allocations: 0 / 0.7778 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.005268, allocations: 0 / 0.7778 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.093e-05/0.005279, allocations: 4.484 kB / 0.7778 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.005284, allocations: 4 kB / 0.7778 GB, free: 2.59 MB / 0.7292 GB 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 5.829e-05/0.005343, allocations: 110.8 kB / 0.7779 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.005362, allocations: 3.984 kB / 0.7779 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.024e-05/0.005432, allocations: 43.11 kB / 0.7779 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005434, allocations: 0 / 0.7779 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.005436, allocations: 3.938 kB / 0.7779 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005438, allocations: 4.812 kB / 0.7779 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.576e-05/0.005494, allocations: 61.84 kB / 0.778 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.005496, allocations: 4.484 kB / 0.778 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.57e-05/0.005511, allocations: 0 / 0.778 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.005514, allocations: 9.719 kB / 0.778 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-06/0.005518, allocations: 0 / 0.778 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.005519, allocations: 0.5312 kB / 0.778 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.005519, allocations: 0.6562 kB / 0.778 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.605e-05/0.005585, allocations: 57.8 kB / 0.7781 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-06/0.005591, allocations: 3.984 kB / 0.7781 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-06/0.005599, allocations: 1.438 kB / 0.7781 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.082e-06/0.005605, allocations: 0 / 0.7781 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.005616, allocations: 0.875 kB / 0.7781 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.005619, allocations: 4 kB / 0.7781 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.274e-06/0.005626, allocations: 5.516 kB / 0.7781 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005626, allocations: 0 / 0.7781 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001927/0.005819, allocations: 17.25 kB / 0.7781 GB, free: 2.219 MB / 0.7292 GB 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.0001589/0.005978, allocations: 92.41 kB / 0.7782 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.457e-05/0.006033, allocations: 9.734 kB / 0.7782 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.006037, allocations: 4.766 kB / 0.7782 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.811e-06/0.006042, allocations: 5.391 kB / 0.7782 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.69e-05/0.006099, allocations: 4.719 kB / 0.7782 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001656/0.006265, allocations: 83.34 kB / 0.7783 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.009e-05/0.006295, allocations: 51.36 kB / 0.7783 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.795e-05/0.006313, allocations: 0.5938 kB / 0.7783 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.006341, allocations: 52.09 kB / 0.7784 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/0.006341, allocations: 0.9844 kB / 0.7784 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of Templates: time 0.002472/0.008813, allocations: 0.5393 MB / 0.7789 GB, free: 1.344 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.06051372224465]