Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice") translateModel(IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008425/0.0008422, allocations: 92.95 kB / 16.02 MB, free: 84 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.0009173/0.0009172, allocations: 179.5 kB / 16.92 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7126/0.7126, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003159, allocations: 15.97 kB / 495.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1648, allocations: 77.53 MB / 0.5599 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.001615/0.1665, allocations: 1.209 MB / 0.5611 GB, free: 7.844 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1676, allocations: 0.6399 MB / 0.5617 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.1677, allocations: 4 kB / 0.5618 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.834e-05/0.1677, allocations: 0 / 0.5618 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.332e-05/0.1678, allocations: 3.938 kB / 0.5618 GB, free: 7.188 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.1681, allocations: 63.88 kB / 0.5618 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.874e-05/0.1682, allocations: 35.8 kB / 0.5618 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1683, allocations: 19.97 kB / 0.5619 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.301e-05/0.1684, allocations: 7.938 kB / 0.5619 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.799e-05/0.1685, allocations: 15.92 kB / 0.5619 GB, free: 7.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1685, allocations: 4 kB / 0.5619 GB, free: 7.043 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.1687, allocations: 95.89 kB / 0.562 GB, free: 6.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.1687, allocations: 11.94 kB / 0.562 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.1688, allocations: 41.62 kB / 0.562 GB, free: 6.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1689, allocations: 76.05 kB / 0.5621 GB, free: 6.816 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1689, allocations: 0 / 0.5621 GB, free: 6.816 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1689, allocations: 0 / 0.5621 GB, free: 6.816 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.1689, allocations: 4 kB / 0.5621 GB, free: 6.812 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004659/0.1694, allocations: 355.4 kB / 0.5625 GB, free: 6.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1695, allocations: 8.031 kB / 0.5625 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.1695, allocations: 12.84 kB / 0.5625 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1697, allocations: 172.2 kB / 0.5626 GB, free: 6.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1697, allocations: 8.375 kB / 0.5626 GB, free: 6.184 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.1697, allocations: 384 / 0.5626 GB, free: 6.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1699, allocations: 61.98 kB / 0.5627 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1699, allocations: 0 / 0.5627 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1699, allocations: 0 / 0.5627 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1699, allocations: 0 / 0.5627 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.17, allocations: 31.98 kB / 0.5627 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.1704, allocations: 280.7 kB / 0.563 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.916e-05/0.1705, allocations: 34.56 kB / 0.563 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.1706, allocations: 16.92 kB / 0.5631 GB, free: 5.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005214/0.1711, allocations: 0.5661 MB / 0.5636 GB, free: 5.004 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1712, allocations: 30.56 kB / 0.5636 GB, free: 4.965 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.1712, allocations: 0 / 0.5636 GB, free: 4.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000268/0.1715, allocations: 81.52 kB / 0.5637 GB, free: 4.879 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.1715, allocations: 51.41 kB / 0.5638 GB, free: 4.816 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.1716, allocations: 117.8 kB / 0.5639 GB, free: 4.691 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1716, allocations: 25.7 kB / 0.5639 GB, free: 4.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.1717, allocations: 100.1 kB / 0.564 GB, free: 4.559 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1717, allocations: 3.906 kB / 0.564 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.1718, allocations: 9.719 kB / 0.564 GB, free: 4.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1719, allocations: 330.8 kB / 0.5643 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.463e-05/0.1719, allocations: 11.98 kB / 0.5643 GB, free: 4.195 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.172, allocations: 12 kB / 0.5643 GB, free: 4.184 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.472e-05/0.1721, allocations: 28.84 kB / 0.5644 GB, free: 4.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1721, allocations: 3.938 kB / 0.5644 GB, free: 4.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001303/0.1722, allocations: 65.64 kB / 0.5644 GB, free: 4.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1722, allocations: 4 kB / 0.5644 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1723, allocations: 0 / 0.5644 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.1723, allocations: 4 kB / 0.5644 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.405e-05/0.1723, allocations: 4 kB / 0.5644 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1724, allocations: 3.984 kB / 0.5645 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.613e-05/0.1724, allocations: 7.984 kB / 0.5645 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1724, allocations: 4.031 kB / 0.5645 GB, free: 4.051 MB / 430.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 (2): * Single equations (assignments): 2 * 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.692e-05/0.1725, allocations: 117.8 kB / 0.5646 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.1725, allocations: 0 / 0.5646 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.1727, allocations: 65.14 kB / 0.5646 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1727, allocations: 4 kB / 0.5646 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1727, allocations: 4 kB / 0.5646 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1727, allocations: 4.031 kB / 0.5647 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.1729, allocations: 169.6 kB / 0.5648 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1729, allocations: 3.984 kB / 0.5648 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.173, allocations: 7.984 kB / 0.5648 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.173, allocations: 0 / 0.5648 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.173, allocations: 0 / 0.5648 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.173, allocations: 0 / 0.5648 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.173, allocations: 4 kB / 0.5648 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.1732, allocations: 163.3 kB / 0.565 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.1732, allocations: 85 kB / 0.5651 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.1733, allocations: 4 kB / 0.5651 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.091e-05/0.1733, allocations: 0 / 0.5651 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.1734, allocations: 4 kB / 0.5651 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.1734, allocations: 0 / 0.5651 GB, free: 3.328 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.799e-05/0.1734, allocations: 103.2 kB / 0.5652 GB, free: 3.227 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1734, allocations: 7.969 kB / 0.5652 GB, free: 3.219 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.1737, allocations: 11.94 kB / 0.5652 GB, free: 3.207 MB / 430.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 (2): * Single equations (assignments): 2 * 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.0001924/0.1739, allocations: 107.3 kB / 0.5653 GB, free: 3.094 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.174, allocations: 23.98 kB / 0.5653 GB, free: 3.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.174, allocations: 0 / 0.5653 GB, free: 3.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.013e-05/0.1741, allocations: 20.06 kB / 0.5653 GB, free: 3.051 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.1743, allocations: 10.94 kB / 0.5653 GB, free: 3.043 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.1747, allocations: 144.8 kB / 0.5655 GB, free: 2.875 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.1749, allocations: 0.6809 MB / 0.5661 GB, free: 2.168 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.605e-05/0.175, allocations: 8.062 kB / 0.5662 GB, free: 2.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.175, allocations: 11.42 kB / 0.5662 GB, free: 2.148 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.175, allocations: 4 kB / 0.5662 GB, free: 2.145 MB / 430.1 MB Notification: Performance of Templates: time 0.002365/0.1774, allocations: 448.1 kB / 0.5666 GB, free: 1.711 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)