Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.008274/0.008274, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001363/0.001363, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.611/1.611, allocations: 205.1 MB / 222.5 MB, free: 4.371 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.6293/0.6293, allocations: 95.48 MB / 365.4 MB, free: 9.699 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.001535/0.001535, allocations: 75.89 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1626, allocations: 69.09 MB / 0.5711 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002619/0.1653, allocations: 1.463 MB / 0.5725 GB, free: 6.832 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1664, allocations: 0.6714 MB / 0.5732 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.1665, allocations: 0 / 0.5732 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.1665, allocations: 3.938 kB / 0.5732 GB, free: 6.152 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.033e-05/0.1666, allocations: 3.938 kB / 0.5732 GB, free: 6.148 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.1669, allocations: 83.66 kB / 0.5733 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.508e-05/0.167, allocations: 39.86 kB / 0.5733 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1671, allocations: 15.98 kB / 0.5733 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.19e-05/0.1672, allocations: 15.92 kB / 0.5733 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.1673, allocations: 15.92 kB / 0.5733 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.1673, allocations: 4 kB / 0.5733 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.1675, allocations: 99.83 kB / 0.5734 GB, free: 5.879 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.1675, allocations: 12 kB / 0.5734 GB, free: 5.867 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.1675, allocations: 19.86 kB / 0.5735 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.1677, allocations: 83.72 kB / 0.5735 GB, free: 5.766 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1677, allocations: 0 / 0.5735 GB, free: 5.766 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1677, allocations: 0 / 0.5735 GB, free: 5.766 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1677, allocations: 0 / 0.5735 GB, free: 5.766 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004758/0.1682, allocations: 359.4 kB / 0.5739 GB, free: 5.367 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1683, allocations: 11.98 kB / 0.5739 GB, free: 5.355 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.1683, allocations: 8.844 kB / 0.5739 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.1685, allocations: 172 kB / 0.5741 GB, free: 5.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1685, allocations: 8 kB / 0.5741 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.1685, allocations: 0 / 0.5741 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1687, allocations: 53.67 kB / 0.5741 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1687, allocations: 7.984 kB / 0.5741 GB, free: 5.066 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.1687, allocations: 0 / 0.5741 GB, free: 5.066 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1687, allocations: 0 / 0.5741 GB, free: 5.066 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.971e-05/0.1688, allocations: 35.92 kB / 0.5742 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.1692, allocations: 284.7 kB / 0.5744 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.765e-05/0.1693, allocations: 30.58 kB / 0.5745 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.883e-05/0.1694, allocations: 12.91 kB / 0.5745 GB, free: 4.648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004891/0.1699, allocations: 0.5583 MB / 0.575 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.1699, allocations: 38.56 kB / 0.5751 GB, free: 3.914 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.1699, allocations: 0 / 0.5751 GB, free: 3.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002484/0.1702, allocations: 65.61 kB / 0.5751 GB, free: 3.844 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.1702, allocations: 51.41 kB / 0.5752 GB, free: 3.781 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.478e-05/0.1703, allocations: 121.8 kB / 0.5753 GB, free: 3.652 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1704, allocations: 29.7 kB / 0.5753 GB, free: 3.617 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.1704, allocations: 92.12 kB / 0.5754 GB, free: 3.523 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.1704, allocations: 7.969 kB / 0.5754 GB, free: 3.516 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.1705, allocations: 13.72 kB / 0.5754 GB, free: 3.496 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1706, allocations: 322.8 kB / 0.5757 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.221e-05/0.1706, allocations: 4 kB / 0.5757 GB, free: 3.168 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.502e-05/0.1707, allocations: 19.92 kB / 0.5758 GB, free: 3.148 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.534e-05/0.1708, allocations: 24.84 kB / 0.5758 GB, free: 3.121 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1708, allocations: 0 / 0.5758 GB, free: 3.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001106/0.1709, allocations: 57.66 kB / 0.5758 GB, free: 3.059 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1709, allocations: 8 kB / 0.5758 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1709, allocations: 0 / 0.5758 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1709, allocations: 3.938 kB / 0.5759 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.132e-05/0.171, allocations: 4 kB / 0.5759 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.171, allocations: 3.984 kB / 0.5759 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.1711, allocations: 7.938 kB / 0.5759 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.1711, allocations: 0 / 0.5759 GB, free: 3.031 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 (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 8.061e-05/0.1712, allocations: 117.8 kB / 0.576 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.1712, allocations: 4 kB / 0.576 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.1714, allocations: 65.16 kB / 0.576 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1714, allocations: 3.938 kB / 0.5761 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1714, allocations: 0 / 0.5761 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1714, allocations: 4 kB / 0.5761 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.1716, allocations: 165.6 kB / 0.5762 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1716, allocations: 4 kB / 0.5762 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.1716, allocations: 7.984 kB / 0.5762 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1716, allocations: 4.031 kB / 0.5762 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1717, allocations: 0 / 0.5762 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1717, allocations: 3.938 kB / 0.5762 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1717, allocations: 0 / 0.5762 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.1718, allocations: 151.5 kB / 0.5764 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.1719, allocations: 84.95 kB / 0.5765 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.1719, allocations: 0 / 0.5765 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.172, allocations: 15.97 kB / 0.5765 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.172, allocations: 0 / 0.5765 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.172, allocations: 4 kB / 0.5765 GB, free: 2.305 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.188e-05/0.1721, allocations: 99.2 kB / 0.5766 GB, free: 2.207 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1721, allocations: 0 / 0.5766 GB, free: 2.207 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1724, allocations: 15.98 kB / 0.5766 GB, free: 2.191 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 (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.0001749/0.1725, allocations: 103.3 kB / 0.5767 GB, free: 2.082 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.1727, allocations: 31.92 kB / 0.5767 GB, free: 2.051 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1727, allocations: 0 / 0.5767 GB, free: 2.051 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.578e-05/0.1727, allocations: 15.98 kB / 0.5767 GB, free: 2.035 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.173, allocations: 1.094 kB / 0.5767 GB, free: 2.035 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.1733, allocations: 130.8 kB / 0.5769 GB, free: 1.883 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1737, allocations: 0.6807 MB / 0.5775 GB, free: 1.176 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.585e-05/0.1737, allocations: 8.109 kB / 0.5775 GB, free: 1.168 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.1737, allocations: 11.44 kB / 0.5775 GB, free: 1.156 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1737, allocations: 0 / 0.5775 GB, free: 1.156 MB / 446.1 MB Notification: Performance of Templates: time 0.002885/0.1766, allocations: 488.7 kB / 0.578 GB, free: 0.6797 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)