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.001016/0.001016, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008578/0.008578, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.311/1.311, allocations: 223.3 MB / 240.3 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001738/0.001738, allocations: 278.5 kB / 291.7 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.086/1.086, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007616/0.0007616, allocations: 14.25 kB / 0.5987 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1733, allocations: 88.54 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.001659/0.175, allocations: 1.215 MB / 0.6863 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1761, allocations: 0.642 MB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.1761, allocations: 0 / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.1762, allocations: 4.969 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.689e-05/0.1762, allocations: 4 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.1765, allocations: 61.83 kB / 0.687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.74e-05/0.1766, allocations: 31.92 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1767, allocations: 18.61 kB / 0.6871 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.1768, allocations: 15.94 kB / 0.6871 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.1768, allocations: 15.86 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.1769, allocations: 0 / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.177, allocations: 99.89 kB / 0.6872 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.1771, allocations: 0 / 0.6872 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.1771, allocations: 50 kB / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.1773, allocations: 84.38 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1773, allocations: 0 / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1773, allocations: 0.625 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1773, allocations: 1.219 kB / 0.6873 GB, free: 12.84 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.0003989/0.1777, allocations: 358.6 kB / 0.6876 GB, free: 12.44 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1777, allocations: 12.03 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.1778, allocations: 4.844 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1779, allocations: 164.4 kB / 0.6878 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1779, allocations: 1.125 kB / 0.6878 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.1779, allocations: 8.312 kB / 0.6878 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1781, allocations: 64.2 kB / 0.6879 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1781, allocations: 4 kB / 0.6879 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1782, allocations: 3.938 kB / 0.6879 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1782, allocations: 0 / 0.6879 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1783, allocations: 38.77 kB / 0.6879 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.1787, allocations: 280.7 kB / 0.6882 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.38e-05/0.1788, allocations: 36.25 kB / 0.6882 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.1789, allocations: 12.92 kB / 0.6883 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000498/0.1794, allocations: 0.5676 MB / 0.6888 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.1794, allocations: 36.62 kB / 0.6888 GB, free: 10.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.1794, allocations: 0 / 0.6888 GB, free: 10.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002634/0.1797, allocations: 74.3 kB / 0.6889 GB, free: 10.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1797, allocations: 55.41 kB / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.1799, allocations: 118.2 kB / 0.6891 GB, free: 10.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1799, allocations: 25.7 kB / 0.6891 GB, free: 10.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.1799, allocations: 92.12 kB / 0.6892 GB, free: 10.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.18, allocations: 3.906 kB / 0.6892 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.18, allocations: 9.719 kB / 0.6892 GB, free: 10.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1801, allocations: 318.8 kB / 0.6895 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.9e-05/0.1802, allocations: 16.02 kB / 0.6895 GB, free: 10.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.533e-05/0.1802, allocations: 15.94 kB / 0.6895 GB, free: 10.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.968e-05/0.1803, allocations: 28.84 kB / 0.6896 GB, free: 10.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1803, allocations: 0 / 0.6896 GB, free: 10.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001297/0.1805, allocations: 65.73 kB / 0.6896 GB, free: 10.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1805, allocations: 5.875 kB / 0.6896 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1805, allocations: 0 / 0.6896 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1805, allocations: 0 / 0.6896 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.1806, allocations: 8 kB / 0.6896 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1806, allocations: 0 / 0.6896 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.64e-05/0.1807, allocations: 3.906 kB / 0.6896 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.1807, allocations: 7.984 kB / 0.6897 GB, free: 10.1 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 9.668e-05/0.1808, allocations: 122.4 kB / 0.6898 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.1808, allocations: 4 kB / 0.6898 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.181, allocations: 65.2 kB / 0.6898 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.181, allocations: 0 / 0.6898 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.181, allocations: 3.938 kB / 0.6898 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1811, allocations: 0 / 0.6898 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.1812, allocations: 165.6 kB / 0.69 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1812, allocations: 4.031 kB / 0.69 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/0.1813, allocations: 8 kB / 0.69 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1813, allocations: 0 / 0.69 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1813, allocations: 11.92 kB / 0.69 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1813, allocations: 0 / 0.69 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1813, allocations: 3.984 kB / 0.69 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.1815, allocations: 163.3 kB / 0.6902 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.1816, allocations: 81.09 kB / 0.6903 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.1816, allocations: 3.984 kB / 0.6903 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.222e-05/0.1817, allocations: 8 kB / 0.6903 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.1817, allocations: 0 / 0.6903 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.1817, allocations: 4 kB / 0.6903 GB, free: 9.363 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.08e-05/0.1818, allocations: 95.31 kB / 0.6904 GB, free: 9.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1818, allocations: 0 / 0.6904 GB, free: 9.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.182, allocations: 19.97 kB / 0.6904 GB, free: 9.25 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.0002126/0.1822, allocations: 107.2 kB / 0.6905 GB, free: 9.137 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.1824, allocations: 27.92 kB / 0.6905 GB, free: 9.109 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1824, allocations: 0 / 0.6905 GB, free: 9.109 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.849e-05/0.1825, allocations: 16 kB / 0.6905 GB, free: 9.094 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.1827, allocations: 8.062 kB / 0.6905 GB, free: 9.086 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.183, allocations: 160.5 kB / 0.6907 GB, free: 8.906 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.1833, allocations: 0.6809 MB / 0.6913 GB, free: 8.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.411e-05/0.1834, allocations: 4 kB / 0.6914 GB, free: 8.195 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.1834, allocations: 11.44 kB / 0.6914 GB, free: 8.184 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1834, allocations: 0 / 0.6914 GB, free: 8.184 MB / 494.1 MB Notification: Performance of Templates: time 0.002608/0.186, allocations: 454.8 kB / 0.6918 GB, free: 7.742 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)