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.01012/0.01012, allocations: 112.2 kB / 15.74 MB, free: 6.453 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.001684/0.001684, allocations: 200.2 kB / 16.68 MB, free: 6.348 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.728/1.728, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.6674/0.6674, allocations: 95.49 MB / 365.4 MB, free: 9.77 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.001647/0.001647, allocations: 72.52 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1528, allocations: 69.08 MB / 0.5711 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001698/0.1546, allocations: 0.5509 MB / 0.5716 GB, free: 7.773 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006439/0.1552, allocations: 307.2 kB / 0.5719 GB, free: 7.473 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.907e-05/0.1552, allocations: 0 / 0.5719 GB, free: 7.473 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.1553, allocations: 0 / 0.5719 GB, free: 7.473 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.095e-06/0.1553, allocations: 0 / 0.5719 GB, free: 7.473 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.1558, allocations: 107.1 kB / 0.572 GB, free: 7.371 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.601e-05/0.1559, allocations: 0 / 0.572 GB, free: 7.371 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.1559, allocations: 0 / 0.572 GB, free: 7.371 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.554e-05/0.156, allocations: 0 / 0.572 GB, free: 7.371 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.262e-05/0.156, allocations: 8 kB / 0.572 GB, free: 7.363 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.156, allocations: 3.938 kB / 0.572 GB, free: 7.359 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003637/0.1564, allocations: 231.7 kB / 0.5723 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.1564, allocations: 3.938 kB / 0.5723 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.1564, allocations: 0 / 0.5723 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.1566, allocations: 91.86 kB / 0.5724 GB, free: 7.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1566, allocations: 0 / 0.5724 GB, free: 7.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1566, allocations: 0 / 0.5724 GB, free: 7.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.1567, allocations: 0 / 0.5724 GB, free: 7.039 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.0004074/0.1571, allocations: 335.6 kB / 0.5727 GB, free: 6.664 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1571, allocations: 11.98 kB / 0.5727 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.61e-05/0.1572, allocations: 4.938 kB / 0.5727 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.1573, allocations: 164.4 kB / 0.5729 GB, free: 6.449 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1573, allocations: 3.938 kB / 0.5729 GB, free: 6.445 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.1574, allocations: 4 kB / 0.5729 GB, free: 6.441 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.1575, allocations: 29.64 kB / 0.5729 GB, free: 6.406 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1575, allocations: 0 / 0.5729 GB, free: 6.406 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1575, allocations: 4 kB / 0.5729 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1575, allocations: 0 / 0.5729 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.91e-05/0.1575, allocations: 0 / 0.5729 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.1577, allocations: 157.5 kB / 0.573 GB, free: 6.199 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.697e-05/0.1578, allocations: 18.61 kB / 0.5731 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.1578, allocations: 12.8 kB / 0.5731 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005858/0.1584, allocations: 425.6 kB / 0.5735 GB, free: 5.648 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1584, allocations: 34.5 kB / 0.5735 GB, free: 5.605 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1584, allocations: 0 / 0.5735 GB, free: 5.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001756/0.1586, allocations: 37.7 kB / 0.5735 GB, free: 5.562 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.1587, allocations: 51.41 kB / 0.5736 GB, free: 5.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.701e-05/0.1587, allocations: 93.86 kB / 0.5737 GB, free: 5.398 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1587, allocations: 25.7 kB / 0.5737 GB, free: 5.367 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.1588, allocations: 80.14 kB / 0.5738 GB, free: 5.285 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.1588, allocations: 3.984 kB / 0.5738 GB, free: 5.281 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.1588, allocations: 13.72 kB / 0.5738 GB, free: 5.262 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1589, allocations: 310.8 kB / 0.5741 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.159, allocations: 4.125 kB / 0.5741 GB, free: 4.945 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-06/0.159, allocations: 7.938 kB / 0.5741 GB, free: 4.938 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.757e-05/0.159, allocations: 8.859 kB / 0.5741 GB, free: 4.926 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.159, allocations: 3.938 kB / 0.5741 GB, free: 4.922 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.41e-05/0.1591, allocations: 37.7 kB / 0.5742 GB, free: 4.879 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1591, allocations: 7.984 kB / 0.5742 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1591, allocations: 0 / 0.5742 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1591, allocations: 0 / 0.5742 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.12e-05/0.1592, allocations: 4 kB / 0.5742 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1592, allocations: 8.031 kB / 0.5742 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.078e-05/0.1592, allocations: 0 / 0.5742 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1592, allocations: 0 / 0.5742 GB, free: 4.859 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.451e-05/0.1593, allocations: 113.7 kB / 0.5743 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.1593, allocations: 0 / 0.5743 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.605e-05/0.1594, allocations: 48.77 kB / 0.5743 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1594, allocations: 0 / 0.5743 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1595, allocations: 4.031 kB / 0.5743 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1595, allocations: 0 / 0.5743 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.1596, allocations: 149.5 kB / 0.5745 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1596, allocations: 0 / 0.5745 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.1596, allocations: 4 kB / 0.5745 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1596, allocations: 0 / 0.5745 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1596, allocations: 3.984 kB / 0.5745 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1596, allocations: 0 / 0.5745 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1596, allocations: 0 / 0.5745 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.371e-05/0.1597, allocations: 69.02 kB / 0.5746 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.1598, allocations: 81.05 kB / 0.5746 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.1598, allocations: 3.984 kB / 0.5746 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-06/0.1598, allocations: 3.984 kB / 0.5746 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.1598, allocations: 4 kB / 0.5746 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.1598, allocations: 0 / 0.5746 GB, free: 4.277 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.941e-05/0.1599, allocations: 75.28 kB / 0.5747 GB, free: 4.203 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1599, allocations: 0 / 0.5747 GB, free: 4.203 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002062/0.1601, allocations: 8 kB / 0.5747 GB, free: 4.195 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.0001693/0.1602, allocations: 111.3 kB / 0.5748 GB, free: 4.074 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.905e-05/0.1603, allocations: 7.984 kB / 0.5748 GB, free: 4.066 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1603, allocations: 0 / 0.5748 GB, free: 4.066 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.201e-05/0.1604, allocations: 11.94 kB / 0.5748 GB, free: 4.055 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.1605, allocations: 7.875 kB / 0.5749 GB, free: 4.047 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001729/0.1607, allocations: 69.08 kB / 0.5749 GB, free: 3.953 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.1609, allocations: 0.673 MB / 0.5756 GB, free: 3.254 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.44e-05/0.161, allocations: 4 kB / 0.5756 GB, free: 3.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.383e-05/0.161, allocations: 7.438 kB / 0.5756 GB, free: 3.242 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.161, allocations: 0 / 0.5756 GB, free: 3.242 MB / 446.1 MB Notification: Performance of Templates: time 0.002538/0.1635, allocations: 456.3 kB / 0.576 GB, free: 2.797 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)