Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004656/0.004656, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.0009841/0.0009841, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00314/0.00314, allocations: 290 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9577/0.9577, allocations: 169.2 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 91.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1524, allocations: 86.98 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002355/0.1548, allocations: 1.51 MB / 0.7679 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009412/0.1558, allocations: 0.6402 MB / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.1558, allocations: 0 / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.1558, allocations: 3.938 kB / 0.7685 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.367e-05/0.1559, allocations: 7.938 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.1562, allocations: 83.72 kB / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.1563, allocations: 35.86 kB / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.49e-05/0.1564, allocations: 19.92 kB / 0.7686 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.372e-05/0.1565, allocations: 15.94 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.1565, allocations: 19.92 kB / 0.7687 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.1565, allocations: 4 kB / 0.7687 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.1567, allocations: 99.88 kB / 0.7688 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.1567, allocations: 7.938 kB / 0.7688 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.1568, allocations: 15.88 kB / 0.7688 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.157, allocations: 91.81 kB / 0.7689 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.157, allocations: 0 / 0.7689 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.157, allocations: 0 / 0.7689 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.157, allocations: 0 / 0.7689 GB, free: 5.879 MB / 0.5606 GB 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.0003974/0.1574, allocations: 367.2 kB / 0.7692 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.1574, allocations: 12.03 kB / 0.7692 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.1575, allocations: 4.938 kB / 0.7692 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.601e-05/0.1576, allocations: 168.3 kB / 0.7694 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1576, allocations: 384 / 0.7694 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1576, allocations: 384 / 0.7694 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1577, allocations: 61.98 kB / 0.7695 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1578, allocations: 0 / 0.7695 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1578, allocations: 3.938 kB / 0.7695 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1578, allocations: 0 / 0.7695 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.433e-05/0.1579, allocations: 35.92 kB / 0.7695 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.1582, allocations: 288.6 kB / 0.7698 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.728e-05/0.1583, allocations: 30.56 kB / 0.7698 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.574e-05/0.1584, allocations: 12.91 kB / 0.7698 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004298/0.1588, allocations: 0.5622 MB / 0.7704 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1588, allocations: 42.5 kB / 0.7704 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1588, allocations: 0 / 0.7704 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002239/0.1591, allocations: 61.58 kB / 0.7705 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.1591, allocations: 51.41 kB / 0.7705 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.824e-05/0.1592, allocations: 126 kB / 0.7706 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.1592, allocations: 29.7 kB / 0.7707 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.1593, allocations: 88.14 kB / 0.7707 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.1593, allocations: 3.906 kB / 0.7707 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.1593, allocations: 17.72 kB / 0.7708 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.467e-05/0.1594, allocations: 318.8 kB / 0.7711 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.277e-05/0.1595, allocations: 12 kB / 0.7711 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.308e-05/0.1595, allocations: 7.984 kB / 0.7711 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.651e-05/0.1596, allocations: 32.84 kB / 0.7711 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1596, allocations: 0 / 0.7711 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001139/0.1597, allocations: 53.69 kB / 0.7712 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1597, allocations: 4 kB / 0.7712 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.1597, allocations: 0 / 0.7712 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1598, allocations: 0 / 0.7712 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.685e-05/0.1598, allocations: 7.984 kB / 0.7712 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1598, allocations: 4 kB / 0.7712 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.1599, allocations: 8.031 kB / 0.7712 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.1599, allocations: 0 / 0.7712 GB, free: 3.148 MB / 0.5606 GB 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 6.579e-05/0.16, allocations: 114.4 kB / 0.7713 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.16, allocations: 3.906 kB / 0.7713 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.1602, allocations: 73.12 kB / 0.7714 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1602, allocations: 0 / 0.7714 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1602, allocations: 3.938 kB / 0.7714 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.1602, allocations: 4.031 kB / 0.7714 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.1603, allocations: 173.6 kB / 0.7715 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1603, allocations: 0 / 0.7715 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.1604, allocations: 4 kB / 0.7715 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1604, allocations: 0 / 0.7715 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.1604, allocations: 0 / 0.7715 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.1604, allocations: 4 kB / 0.7716 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1604, allocations: 0 / 0.7716 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.1606, allocations: 159.3 kB / 0.7717 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.1606, allocations: 81.11 kB / 0.7718 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1606, allocations: 4 kB / 0.7718 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.102e-05/0.1607, allocations: 3.938 kB / 0.7718 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.1607, allocations: 7.984 kB / 0.7718 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1608, allocations: 0 / 0.7718 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.428e-05/0.1608, allocations: 91.27 kB / 0.7719 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1608, allocations: 0 / 0.7719 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002281/0.1611, allocations: 19.94 kB / 0.7719 GB, free: 2.316 MB / 0.5606 GB 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.0001246/0.1612, allocations: 109.1 kB / 0.772 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001274/0.1613, allocations: 27.98 kB / 0.772 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1613, allocations: 0 / 0.772 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.098e-05/0.1614, allocations: 15.92 kB / 0.772 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.1616, allocations: 6.5 kB / 0.7721 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/0.1619, allocations: 134.8 kB / 0.7722 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.1621, allocations: 0.6846 MB / 0.7729 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.573e-05/0.1621, allocations: 4 kB / 0.7729 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.1622, allocations: 7.438 kB / 0.7729 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1622, allocations: 0 / 0.7729 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of Templates: time 0.002412/0.1646, allocations: 0.4952 MB / 0.7733 GB, free: 0.7812 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)