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.006201/0.006202, allocations: 101.9 kB / 15.73 MB, free: 6.488 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.001337/0.001337, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.618/1.618, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.5987/0.5987, allocations: 95.49 MB / 365.4 MB, free: 9.793 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.001736/0.001736, allocations: 71.91 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1535, allocations: 69.09 MB / 0.5711 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002212/0.1557, allocations: 0.5359 MB / 0.5716 GB, free: 7.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00075/0.1565, allocations: 311.2 kB / 0.5719 GB, free: 7.465 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.1566, allocations: 0 / 0.5719 GB, free: 7.465 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.1566, allocations: 0 / 0.5719 GB, free: 7.465 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.275e-06/0.1566, allocations: 4 kB / 0.5719 GB, free: 7.461 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.1572, allocations: 106.5 kB / 0.572 GB, free: 7.359 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.09e-05/0.1573, allocations: 0 / 0.572 GB, free: 7.359 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.715e-05/0.1574, allocations: 3.984 kB / 0.572 GB, free: 7.355 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.355e-05/0.1574, allocations: 7.938 kB / 0.572 GB, free: 7.348 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.739e-05/0.1574, allocations: 0 / 0.572 GB, free: 7.348 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1575, allocations: 0 / 0.572 GB, free: 7.348 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004439/0.1579, allocations: 231.7 kB / 0.5723 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.1579, allocations: 0 / 0.5723 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.158, allocations: 15.88 kB / 0.5723 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.1582, allocations: 87.86 kB / 0.5724 GB, free: 7.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.1582, allocations: 0 / 0.5724 GB, free: 7.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1582, allocations: 0 / 0.5724 GB, free: 7.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1582, allocations: 0 / 0.5724 GB, free: 7.02 MB / 446.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.0003493/0.1586, allocations: 331.6 kB / 0.5727 GB, free: 6.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.1586, allocations: 15.98 kB / 0.5727 GB, free: 6.633 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.99e-05/0.1587, allocations: 0.9375 kB / 0.5727 GB, free: 6.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.438e-05/0.1588, allocations: 164.4 kB / 0.5729 GB, free: 6.434 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1588, allocations: 7.938 kB / 0.5729 GB, free: 6.426 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.1589, allocations: 0 / 0.5729 GB, free: 6.426 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.542e-05/0.159, allocations: 33.7 kB / 0.5729 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.159, allocations: 0 / 0.5729 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.159, allocations: 0 / 0.5729 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.159, allocations: 0 / 0.5729 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.427e-05/0.159, allocations: 0 / 0.5729 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.1592, allocations: 161.5 kB / 0.573 GB, free: 6.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.599e-05/0.1593, allocations: 18.58 kB / 0.5731 GB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.1593, allocations: 4.859 kB / 0.5731 GB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005114/0.1598, allocations: 425.6 kB / 0.5735 GB, free: 5.637 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1598, allocations: 30.56 kB / 0.5735 GB, free: 5.598 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.1598, allocations: 3.938 kB / 0.5735 GB, free: 5.594 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001733/0.16, allocations: 45.64 kB / 0.5736 GB, free: 5.543 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.1601, allocations: 51.41 kB / 0.5736 GB, free: 5.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.933e-05/0.1601, allocations: 89.86 kB / 0.5737 GB, free: 5.383 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.1601, allocations: 25.7 kB / 0.5737 GB, free: 5.352 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/0.1602, allocations: 80.14 kB / 0.5738 GB, free: 5.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.1602, allocations: 3.984 kB / 0.5738 GB, free: 5.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.1602, allocations: 13.72 kB / 0.5738 GB, free: 5.246 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1603, allocations: 315 kB / 0.5741 GB, free: 4.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.1604, allocations: 4 kB / 0.5741 GB, free: 4.926 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.333e-06/0.1604, allocations: 4 kB / 0.5741 GB, free: 4.922 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.603e-05/0.1604, allocations: 4.859 kB / 0.5741 GB, free: 4.914 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1604, allocations: 3.938 kB / 0.5741 GB, free: 4.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.956e-05/0.1605, allocations: 37.64 kB / 0.5742 GB, free: 4.867 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1605, allocations: 7.984 kB / 0.5742 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1605, allocations: 0 / 0.5742 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1605, allocations: 4.031 kB / 0.5742 GB, free: 4.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.702e-05/0.1606, allocations: 8 kB / 0.5742 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1606, allocations: 0 / 0.5742 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.057e-05/0.1606, allocations: 0 / 0.5742 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.1606, allocations: 0 / 0.5742 GB, free: 4.848 MB / 446.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 7.066e-05/0.1607, allocations: 109.8 kB / 0.5743 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.1607, allocations: 8 kB / 0.5743 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.097e-05/0.1608, allocations: 40.77 kB / 0.5743 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1609, allocations: 4.031 kB / 0.5743 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1609, allocations: 0 / 0.5743 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1609, allocations: 3.938 kB / 0.5743 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.175e-05/0.161, allocations: 153.5 kB / 0.5745 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.161, allocations: 0 / 0.5745 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.27e-05/0.161, allocations: 0 / 0.5745 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.161, allocations: 3.984 kB / 0.5745 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.161, allocations: 0 / 0.5745 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.161, allocations: 4 kB / 0.5745 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.161, allocations: 4 kB / 0.5745 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.519e-05/0.1611, allocations: 61.08 kB / 0.5746 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.1612, allocations: 77.11 kB / 0.5746 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-06/0.1612, allocations: 3.938 kB / 0.5746 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-06/0.1612, allocations: 7.984 kB / 0.5746 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.1612, allocations: 0 / 0.5746 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-06/0.1612, allocations: 0 / 0.5746 GB, free: 4.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.542e-05/0.1612, allocations: 75.28 kB / 0.5747 GB, free: 4.195 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1612, allocations: 0 / 0.5747 GB, free: 4.195 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001867/0.1614, allocations: 12.03 kB / 0.5747 GB, free: 4.184 MB / 446.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.000181/0.1616, allocations: 119.2 kB / 0.5748 GB, free: 4.055 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.833e-05/0.1617, allocations: 7.984 kB / 0.5748 GB, free: 4.047 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1617, allocations: 0 / 0.5748 GB, free: 4.047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.841e-06/0.1617, allocations: 0 / 0.5748 GB, free: 4.047 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.1619, allocations: 3.938 kB / 0.5748 GB, free: 4.043 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002137/0.1621, allocations: 77.2 kB / 0.5749 GB, free: 3.941 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.1624, allocations: 0.6729 MB / 0.5756 GB, free: 3.242 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.973e-05/0.1624, allocations: 0 / 0.5756 GB, free: 3.242 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.1624, allocations: 11.42 kB / 0.5756 GB, free: 3.23 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.1624, allocations: 0 / 0.5756 GB, free: 3.23 MB / 446.1 MB Notification: Performance of Templates: time 0.002774/0.1652, allocations: 456.4 kB / 0.576 GB, free: 2.785 MB / 446.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)