Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009655/0.0009651, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.562/1.562, allocations: 252 MB / 0.5102 GB, free: 4.781 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006447/0.0006449, allocations: 16 kB / 0.6243 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6536/0.6543, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0008304/0.6552, allocations: 316.6 kB / 0.7284 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006728/0.6559, allocations: 302.1 kB / 0.7287 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.423e-05/0.6559, allocations: 0 / 0.7287 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.656, allocations: 8 kB / 0.7287 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.925e-06/0.656, allocations: 0 / 0.7287 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.6565, allocations: 63.86 kB / 0.7288 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.059e-05/0.6566, allocations: 7.984 kB / 0.7288 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.326e-05/0.6566, allocations: 0 / 0.7288 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.926e-05/0.6567, allocations: 0 / 0.7288 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.849e-05/0.6567, allocations: 3.938 kB / 0.7288 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.6567, allocations: 0 / 0.7288 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004767/0.6572, allocations: 267.7 kB / 0.7291 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.194e-06/0.6572, allocations: 0 / 0.7291 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.6573, allocations: 25.7 kB / 0.7291 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.6575, allocations: 55.91 kB / 0.7291 GB, free: 10.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.6575, allocations: 3.938 kB / 0.7291 GB, free: 10.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.865e-06/0.6575, allocations: 0 / 0.7291 GB, free: 10.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.6575, allocations: 0 / 0.7291 GB, free: 10.37 MB / 0.545 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.0004209/0.6579, allocations: 331.4 kB / 0.7295 GB, free: 10 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.658, allocations: 8.031 kB / 0.7295 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.457e-05/0.6581, allocations: 3.906 kB / 0.7295 GB, free: 9.988 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.6582, allocations: 167 kB / 0.7296 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.6582, allocations: 0 / 0.7296 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.629e-06/0.6582, allocations: 4 kB / 0.7296 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.6584, allocations: 29.69 kB / 0.7297 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.6584, allocations: 0 / 0.7297 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.6584, allocations: 4 kB / 0.7297 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.6584, allocations: 0 / 0.7297 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.666e-05/0.6584, allocations: 7.938 kB / 0.7297 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.6586, allocations: 149.6 kB / 0.7298 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.49e-05/0.6587, allocations: 18.58 kB / 0.7298 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.6587, allocations: 8.953 kB / 0.7298 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005558/0.6592, allocations: 429.5 kB / 0.7303 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.6593, allocations: 34.56 kB / 0.7303 GB, free: 8.945 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.783e-06/0.6593, allocations: 0 / 0.7303 GB, free: 8.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001773/0.6595, allocations: 37.62 kB / 0.7303 GB, free: 8.902 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.6595, allocations: 51.41 kB / 0.7304 GB, free: 8.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.829e-05/0.6596, allocations: 93.86 kB / 0.7305 GB, free: 8.738 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.6596, allocations: 25.7 kB / 0.7305 GB, free: 8.707 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.6596, allocations: 84.14 kB / 0.7306 GB, free: 8.621 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.6597, allocations: 0 / 0.7306 GB, free: 8.621 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.6597, allocations: 3.938 kB / 0.7306 GB, free: 8.617 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6598, allocations: 315 kB / 0.7309 GB, free: 8.301 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.6598, allocations: 3.984 kB / 0.7309 GB, free: 8.297 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.6598, allocations: 0 / 0.7309 GB, free: 8.297 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.114e-05/0.6599, allocations: 4 kB / 0.7309 GB, free: 8.293 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6599, allocations: 7.891 kB / 0.7309 GB, free: 8.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.156e-05/0.66, allocations: 33.64 kB / 0.7309 GB, free: 8.246 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.66, allocations: 8 kB / 0.7309 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.66, allocations: 0 / 0.7309 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.66, allocations: 4.094 kB / 0.7309 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.624e-05/0.6601, allocations: 0 / 0.7309 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6601, allocations: 0 / 0.7309 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.372e-05/0.6601, allocations: 4 kB / 0.7309 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.6601, allocations: 4 kB / 0.7309 GB, free: 8.227 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.579e-05/0.6602, allocations: 109.8 kB / 0.731 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.6602, allocations: 3.953 kB / 0.731 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.686e-05/0.6603, allocations: 32.83 kB / 0.7311 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6604, allocations: 8.031 kB / 0.7311 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6604, allocations: 0 / 0.7311 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.6604, allocations: 0 / 0.7311 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.6605, allocations: 153.6 kB / 0.7312 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6605, allocations: 0 / 0.7312 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-05/0.6605, allocations: 7.953 kB / 0.7312 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.6605, allocations: 0 / 0.7312 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.6605, allocations: 0 / 0.7312 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.6605, allocations: 0 / 0.7312 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6605, allocations: 0 / 0.7312 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.6607, allocations: 61.12 kB / 0.7313 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.6607, allocations: 79.08 kB / 0.7314 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.6607, allocations: 3.953 kB / 0.7314 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-06/0.6607, allocations: 4 kB / 0.7314 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.6608, allocations: 0 / 0.7314 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.6608, allocations: 0 / 0.7314 GB, free: 7.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.64e-05/0.6608, allocations: 79.28 kB / 0.7315 GB, free: 7.594 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6608, allocations: 0 / 0.7315 GB, free: 7.594 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002117/0.661, allocations: 12.03 kB / 0.7315 GB, free: 7.582 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002141/0.6612, allocations: 123.2 kB / 0.7316 GB, free: 7.449 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.814e-05/0.6613, allocations: 4 kB / 0.7316 GB, free: 7.445 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6613, allocations: 0 / 0.7316 GB, free: 7.445 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.448e-06/0.6613, allocations: 4 kB / 0.7316 GB, free: 7.441 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.6615, allocations: 6.562 kB / 0.7316 GB, free: 7.438 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001979/0.6617, allocations: 90.72 kB / 0.7317 GB, free: 7.324 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.662, allocations: 0.6731 MB / 0.7323 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.815e-05/0.662, allocations: 0 / 0.7323 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.444e-05/0.662, allocations: 7.438 kB / 0.7324 GB, free: 6.617 MB / 0.545 GB Notification: Performance of SimCode: time 4.3e-07/0.662, allocations: 0 / 0.7324 GB, free: 6.617 MB / 0.545 GB Notification: Performance of Templates: time 0.002675/0.6647, allocations: 447.6 kB / 0.7328 GB, free: 6.18 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: