Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001286/0.001286, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5994/0.5994, allocations: 95.48 MB / 365.2 MB, free: 9.895 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001704, allocations: 67.91 kB / 445.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3631, allocations: 69.08 MB / 0.5024 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002086/0.3653, allocations: 0.5368 MB / 0.5029 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005839/0.3659, allocations: 313.8 kB / 0.5032 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.861e-05/0.3659, allocations: 4 kB / 0.5032 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.366, allocations: 0 / 0.5032 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.111e-06/0.366, allocations: 0 / 0.5032 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.3665, allocations: 99.7 kB / 0.5033 GB, free: 16.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.767e-05/0.3666, allocations: 4 kB / 0.5033 GB, free: 16.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.3666, allocations: 3.984 kB / 0.5033 GB, free: 16.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.714e-05/0.3666, allocations: 4 kB / 0.5033 GB, free: 16.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.682e-05/0.3667, allocations: 3.938 kB / 0.5033 GB, free: 16.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.3667, allocations: 0 / 0.5033 GB, free: 16.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.367, allocations: 231.7 kB / 0.5035 GB, free: 16.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.367, allocations: 4 kB / 0.5035 GB, free: 16.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.3671, allocations: 0 / 0.5035 GB, free: 16.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.3672, allocations: 79.88 kB / 0.5036 GB, free: 16.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3673, allocations: 0 / 0.5036 GB, free: 16.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.3673, allocations: 0 / 0.5036 GB, free: 16.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.3673, allocations: 3.938 kB / 0.5036 GB, free: 16.11 MB / 382.1 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.0002737/0.3675, allocations: 335.6 kB / 0.5039 GB, free: 15.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3676, allocations: 23.91 kB / 0.504 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/0.3677, allocations: 0.9375 kB / 0.504 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.296e-05/0.3677, allocations: 164.4 kB / 0.5041 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3678, allocations: 384 / 0.5041 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.3678, allocations: 3.938 kB / 0.5041 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.3679, allocations: 29.7 kB / 0.5041 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3679, allocations: 0 / 0.5041 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.3679, allocations: 0 / 0.5041 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3679, allocations: 0 / 0.5041 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.242e-05/0.3679, allocations: 0 / 0.5041 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.3681, allocations: 157.6 kB / 0.5043 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.023e-05/0.3681, allocations: 26.45 kB / 0.5043 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.3681, allocations: 4.859 kB / 0.5043 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004446/0.3686, allocations: 425.6 kB / 0.5047 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.3686, allocations: 34.56 kB / 0.5048 GB, free: 14.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.3686, allocations: 4 kB / 0.5048 GB, free: 14.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001577/0.3688, allocations: 37.55 kB / 0.5048 GB, free: 14.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.3688, allocations: 59.39 kB / 0.5049 GB, free: 14.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.867e-05/0.3688, allocations: 89.86 kB / 0.5049 GB, free: 14.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.116e-06/0.3688, allocations: 25.7 kB / 0.505 GB, free: 14.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.113e-05/0.3689, allocations: 80.14 kB / 0.5051 GB, free: 14.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.3689, allocations: 0 / 0.5051 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.3689, allocations: 17.84 kB / 0.5051 GB, free: 14.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.513e-05/0.369, allocations: 310.8 kB / 0.5054 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-06/0.369, allocations: 0 / 0.5054 GB, free: 14.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-06/0.369, allocations: 4 kB / 0.5054 GB, free: 14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.335e-05/0.369, allocations: 8.859 kB / 0.5054 GB, free: 13.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.369, allocations: 0 / 0.5054 GB, free: 13.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.366e-05/0.3691, allocations: 45.56 kB / 0.5054 GB, free: 13.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3691, allocations: 4 kB / 0.5054 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3692, allocations: 4.094 kB / 0.5054 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3692, allocations: 0 / 0.5054 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/0.3692, allocations: 4 kB / 0.5054 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3692, allocations: 0 / 0.5054 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.039e-05/0.3693, allocations: 0 / 0.5054 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3693, allocations: 0 / 0.5054 GB, free: 13.93 MB / 382.1 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 5.014e-05/0.3693, allocations: 111.8 kB / 0.5055 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.3693, allocations: 7.938 kB / 0.5055 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.221e-05/0.3694, allocations: 48.77 kB / 0.5056 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3694, allocations: 0 / 0.5056 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3695, allocations: 0 / 0.5056 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3695, allocations: 0 / 0.5056 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.264e-05/0.3695, allocations: 153.6 kB / 0.5057 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3695, allocations: 0 / 0.5057 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.094e-05/0.3695, allocations: 11.86 kB / 0.5057 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.3695, allocations: 0 / 0.5057 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.3696, allocations: 0 / 0.5057 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3696, allocations: 4 kB / 0.5058 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3696, allocations: 0 / 0.5058 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.104e-05/0.3696, allocations: 61.11 kB / 0.5058 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.3697, allocations: 81.09 kB / 0.5059 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.3697, allocations: 4 kB / 0.5059 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.3697, allocations: 0 / 0.5059 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.3697, allocations: 0 / 0.5059 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-06/0.3697, allocations: 0 / 0.5059 GB, free: 13.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.22e-05/0.3697, allocations: 75.28 kB / 0.506 GB, free: 13.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3697, allocations: 4.031 kB / 0.506 GB, free: 13.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.37, allocations: 8 kB / 0.506 GB, free: 13.27 MB / 382.1 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.0001354/0.3701, allocations: 119.2 kB / 0.5061 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.848e-05/0.3702, allocations: 11.94 kB / 0.5061 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3702, allocations: 0 / 0.5061 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.56e-06/0.3702, allocations: 0 / 0.5061 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.3704, allocations: 7.938 kB / 0.5061 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001641/0.3705, allocations: 80.97 kB / 0.5062 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.3706, allocations: 0.6767 MB / 0.5068 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.601e-05/0.3707, allocations: 0 / 0.5068 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.064e-05/0.3707, allocations: 7.438 kB / 0.5069 GB, free: 12.31 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3707, allocations: 0 / 0.5069 GB, free: 12.31 MB / 382.1 MB Notification: Performance of Templates: time 0.002434/0.3731, allocations: 451.4 kB / 0.5073 GB, free: 11.87 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)