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.001026/0.001026, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001008/0.001008, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002072, allocations: 286.9 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9404/0.9404, allocations: 169.2 MB / 0.4977 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 92.75 kB / 0.5945 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1629, allocations: 86.98 MB / 0.6794 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.003/0.1659, allocations: 1.556 MB / 0.681 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.167, allocations: 0.6578 MB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.167, allocations: 0.625 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.1671, allocations: 3.938 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.138e-05/0.1671, allocations: 5.719 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.1675, allocations: 55.81 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.818e-05/0.1676, allocations: 35.86 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1677, allocations: 17.81 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.758e-05/0.1678, allocations: 21.25 kB / 0.6817 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.548e-05/0.1679, allocations: 15.92 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.1679, allocations: 4 kB / 0.6817 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.1681, allocations: 100.6 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.1681, allocations: 3.984 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.1682, allocations: 20.48 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.1683, allocations: 79.84 kB / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1684, allocations: 4 kB / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1684, allocations: 0 / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1684, allocations: 0 / 0.6819 GB, free: 14.61 MB / 494.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.0005147/0.1689, allocations: 361.3 kB / 0.6823 GB, free: 14.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.169, allocations: 12.03 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.169, allocations: 4.844 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.1692, allocations: 172.3 kB / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1692, allocations: 4.375 kB / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.1692, allocations: 4.375 kB / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1694, allocations: 61.98 kB / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1694, allocations: 3.984 kB / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1694, allocations: 0 / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1694, allocations: 4 kB / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.449e-05/0.1695, allocations: 27.91 kB / 0.6826 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.17, allocations: 284.7 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.654e-05/0.1701, allocations: 38.5 kB / 0.6829 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.748e-05/0.1702, allocations: 20.86 kB / 0.6829 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005424/0.1707, allocations: 0.5583 MB / 0.6834 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1707, allocations: 30.56 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.815e-06/0.1708, allocations: 4 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002757/0.171, allocations: 61.69 kB / 0.6835 GB, free: 12.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.1711, allocations: 55.39 kB / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.569e-05/0.1712, allocations: 117.8 kB / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.1712, allocations: 25.7 kB / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.1713, allocations: 92.14 kB / 0.6838 GB, free: 12.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.1713, allocations: 7.891 kB / 0.6838 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.1713, allocations: 9.844 kB / 0.6838 GB, free: 12.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1715, allocations: 326.8 kB / 0.6841 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.286e-05/0.1716, allocations: 11.92 kB / 0.6842 GB, free: 12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.534e-05/0.1716, allocations: 12 kB / 0.6842 GB, free: 11.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.193e-05/0.1717, allocations: 24.84 kB / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1717, allocations: 0 / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001106/0.1718, allocations: 61.64 kB / 0.6843 GB, free: 11.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1718, allocations: 8 kB / 0.6843 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1719, allocations: 0 / 0.6843 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1719, allocations: 0 / 0.6843 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.1719, allocations: 7.938 kB / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.172, allocations: 0 / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.671e-05/0.172, allocations: 8 kB / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.172, allocations: 7.922 kB / 0.6843 GB, free: 11.87 MB / 494.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.17e-05/0.1721, allocations: 114.4 kB / 0.6844 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.1721, allocations: 8.031 kB / 0.6844 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.1723, allocations: 65.11 kB / 0.6845 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1723, allocations: 0 / 0.6845 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1723, allocations: 0 / 0.6845 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1723, allocations: 4 kB / 0.6845 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.1725, allocations: 161.6 kB / 0.6846 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1725, allocations: 0 / 0.6846 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.1725, allocations: 8 kB / 0.6846 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1725, allocations: 0 / 0.6846 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1726, allocations: 8.016 kB / 0.6846 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.1726, allocations: 0 / 0.6846 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1726, allocations: 0 / 0.6846 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.1727, allocations: 155.4 kB / 0.6848 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.1728, allocations: 81.02 kB / 0.6849 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.1728, allocations: 3.984 kB / 0.6849 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-05/0.1729, allocations: 4 kB / 0.6849 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.1729, allocations: 7.969 kB / 0.6849 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1729, allocations: 0 / 0.6849 GB, free: 11.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.111e-05/0.173, allocations: 99.27 kB / 0.685 GB, free: 11.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.173, allocations: 0 / 0.685 GB, free: 11.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.1732, allocations: 11.94 kB / 0.685 GB, free: 11.05 MB / 494.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.0001407/0.1733, allocations: 107.2 kB / 0.6851 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.1735, allocations: 27.92 kB / 0.6851 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1735, allocations: 4.062 kB / 0.6851 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.367e-05/0.1735, allocations: 12 kB / 0.6851 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.1737, allocations: 7.938 kB / 0.6851 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.174, allocations: 154.8 kB / 0.6853 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.1743, allocations: 0.6849 MB / 0.6859 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.331e-05/0.1744, allocations: 0 / 0.6859 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.1744, allocations: 11.44 kB / 0.686 GB, free: 9.992 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1744, allocations: 0 / 0.686 GB, free: 9.992 MB / 494.1 MB Notification: Performance of Templates: time 0.002527/0.1769, allocations: 466.2 kB / 0.6864 GB, free: 9.543 MB / 494.1 MB 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)