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.001641/0.001641, allocations: 104.7 kB / 16.27 MB, free: 5.98 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.001419/0.001419, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.264/1.264, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 271.5 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9046/0.9046, allocations: 169.3 MB / 0.4988 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 98.56 kB / 0.5959 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1765, allocations: 86.97 MB / 0.6808 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.003068/0.1796, allocations: 1.493 MB / 0.6823 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1807, allocations: 0.6481 MB / 0.6829 GB, free: 6.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.1808, allocations: 4 kB / 0.6829 GB, free: 6.008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.1809, allocations: 7.922 kB / 0.6829 GB, free: 6 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.1809, allocations: 3.938 kB / 0.6829 GB, free: 5.996 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.1813, allocations: 83.72 kB / 0.683 GB, free: 5.914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.589e-05/0.1814, allocations: 27.92 kB / 0.683 GB, free: 5.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1815, allocations: 20.22 kB / 0.6831 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.788e-05/0.1816, allocations: 27.86 kB / 0.6831 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.1817, allocations: 19.86 kB / 0.6831 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1817, allocations: 4 kB / 0.6831 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.1819, allocations: 99.89 kB / 0.6832 GB, free: 5.719 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.1819, allocations: 4 kB / 0.6832 GB, free: 5.715 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.182, allocations: 19.86 kB / 0.6832 GB, free: 5.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.1822, allocations: 87.83 kB / 0.6833 GB, free: 5.609 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1822, allocations: 0 / 0.6833 GB, free: 5.609 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1822, allocations: 0 / 0.6833 GB, free: 5.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.1822, allocations: 0 / 0.6833 GB, free: 5.609 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.0004516/0.1827, allocations: 359.4 kB / 0.6837 GB, free: 5.211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1827, allocations: 12.02 kB / 0.6837 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.1827, allocations: 8.844 kB / 0.6837 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1829, allocations: 164.4 kB / 0.6838 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1829, allocations: 4.375 kB / 0.6838 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.1829, allocations: 384 / 0.6838 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1831, allocations: 65.92 kB / 0.6839 GB, free: 4.918 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1831, allocations: 3.938 kB / 0.6839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1831, allocations: 7.984 kB / 0.6839 GB, free: 4.906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1831, allocations: 0 / 0.6839 GB, free: 4.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.03e-05/0.1832, allocations: 23.98 kB / 0.6839 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.1836, allocations: 284.7 kB / 0.6842 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.16e-05/0.1837, allocations: 34.5 kB / 0.6842 GB, free: 4.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.1838, allocations: 16.92 kB / 0.6843 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005024/0.1843, allocations: 0.5583 MB / 0.6848 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1843, allocations: 34.56 kB / 0.6848 GB, free: 3.762 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1843, allocations: 0 / 0.6848 GB, free: 3.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000243/0.1846, allocations: 65.58 kB / 0.6849 GB, free: 3.691 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.1846, allocations: 59.47 kB / 0.685 GB, free: 3.621 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1847, allocations: 117.8 kB / 0.6851 GB, free: 3.496 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1847, allocations: 25.7 kB / 0.6851 GB, free: 3.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.1848, allocations: 100.1 kB / 0.6852 GB, free: 3.363 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.1848, allocations: 3.906 kB / 0.6852 GB, free: 3.359 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.1849, allocations: 13.72 kB / 0.6852 GB, free: 3.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.185, allocations: 318.8 kB / 0.6855 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.467e-05/0.185, allocations: 15.98 kB / 0.6855 GB, free: 3.004 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.641e-05/0.1851, allocations: 8 kB / 0.6855 GB, free: 2.996 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.931e-05/0.1851, allocations: 24.84 kB / 0.6856 GB, free: 2.969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1852, allocations: 0 / 0.6856 GB, free: 2.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001247/0.1853, allocations: 65.52 kB / 0.6856 GB, free: 2.898 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1853, allocations: 4 kB / 0.6856 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1853, allocations: 0 / 0.6856 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.1853, allocations: 4.094 kB / 0.6856 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/0.1854, allocations: 4 kB / 0.6856 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1854, allocations: 0 / 0.6856 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.1855, allocations: 7.984 kB / 0.6856 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1855, allocations: 0 / 0.6856 GB, free: 2.879 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.528e-05/0.1856, allocations: 117.8 kB / 0.6857 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1856, allocations: 0 / 0.6857 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.1857, allocations: 65.2 kB / 0.6858 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1858, allocations: 7.969 kB / 0.6858 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1858, allocations: 0 / 0.6858 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1858, allocations: 0 / 0.6858 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.186, allocations: 173.5 kB / 0.686 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.186, allocations: 3.938 kB / 0.686 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/0.186, allocations: 7.984 kB / 0.686 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.186, allocations: 0 / 0.686 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.186, allocations: 0 / 0.686 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.186, allocations: 4 kB / 0.686 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.1861, allocations: 0 / 0.686 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.1862, allocations: 151.5 kB / 0.6861 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.1863, allocations: 89 kB / 0.6862 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.1863, allocations: 0 / 0.6862 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.844e-05/0.1864, allocations: 0 / 0.6862 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.1864, allocations: 4 kB / 0.6862 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.1864, allocations: 0 / 0.6862 GB, free: 2.168 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.527e-05/0.1865, allocations: 103.7 kB / 0.6863 GB, free: 2.066 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1865, allocations: 0 / 0.6863 GB, free: 2.066 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.1867, allocations: 19.94 kB / 0.6864 GB, free: 2.047 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.00016/0.1869, allocations: 107.2 kB / 0.6865 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.187, allocations: 23.98 kB / 0.6865 GB, free: 1.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.187, allocations: 0 / 0.6865 GB, free: 1.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.656e-05/0.1871, allocations: 15.98 kB / 0.6865 GB, free: 1.895 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.1873, allocations: 12 kB / 0.6865 GB, free: 1.883 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.1876, allocations: 160.4 kB / 0.6867 GB, free: 1.695 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1879, allocations: 0.6845 MB / 0.6873 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.1879, allocations: 11.44 kB / 0.6873 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1879, allocations: 0 / 0.6873 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of Templates: time 0.002057/0.19, allocations: 0.7107 MB / 0.688 GB, free: 268 kB / 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)