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.000873/0.0008731, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008644/0.0008645, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001659/0.001659, allocations: 282.3 kB / 291.4 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9086/0.9086, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004383, allocations: 12.94 kB / 0.598 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.177, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.00185/0.1789, allocations: 1.195 MB / 0.6856 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009095/0.1798, allocations: 0.6078 MB / 0.6862 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.1799, allocations: 0 / 0.6862 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.1799, allocations: 2.219 kB / 0.6862 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.995e-05/0.18, allocations: 3.938 kB / 0.6862 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1803, allocations: 59.81 kB / 0.6863 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.1804, allocations: 35.86 kB / 0.6863 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.1805, allocations: 9.375 kB / 0.6863 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.878e-05/0.1806, allocations: 25.91 kB / 0.6864 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.1806, allocations: 11.92 kB / 0.6864 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.1806, allocations: 0 / 0.6864 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.1808, allocations: 95.89 kB / 0.6865 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.1808, allocations: 3.938 kB / 0.6865 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.1809, allocations: 34.23 kB / 0.6865 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.181, allocations: 56.66 kB / 0.6866 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.181, allocations: 0 / 0.6866 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.181, allocations: 0 / 0.6866 GB, free: 13.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.181, allocations: 1.188 kB / 0.6866 GB, free: 13.32 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.0004284/0.1815, allocations: 357 kB / 0.6869 GB, free: 12.92 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1815, allocations: 8.031 kB / 0.6869 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.1815, allocations: 7.906 kB / 0.6869 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.1817, allocations: 171 kB / 0.6871 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1817, allocations: 1.406 kB / 0.6871 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.1817, allocations: 8 kB / 0.6871 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1819, allocations: 54.86 kB / 0.6871 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-06/0.1819, allocations: 0 / 0.6871 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1819, allocations: 4 kB / 0.6872 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1819, allocations: 4 kB / 0.6872 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.682e-05/0.182, allocations: 26.98 kB / 0.6872 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.1824, allocations: 284.7 kB / 0.6875 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.198e-05/0.1825, allocations: 40.03 kB / 0.6875 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.1825, allocations: 17.55 kB / 0.6875 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004683/0.183, allocations: 0.5599 MB / 0.6881 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.1831, allocations: 31.19 kB / 0.6881 GB, free: 11.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1831, allocations: 5.438 kB / 0.6881 GB, free: 11.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002429/0.1833, allocations: 78.25 kB / 0.6882 GB, free: 11.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.1834, allocations: 55.41 kB / 0.6882 GB, free: 11.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.1834, allocations: 121.8 kB / 0.6883 GB, free: 11.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1835, allocations: 29.7 kB / 0.6884 GB, free: 11.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.1835, allocations: 92.03 kB / 0.6884 GB, free: 11.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.1835, allocations: 4 kB / 0.6885 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.1835, allocations: 0 / 0.6885 GB, free: 11.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.1836, allocations: 314.8 kB / 0.6888 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.399e-05/0.1837, allocations: 19.98 kB / 0.6888 GB, free: 10.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/0.1837, allocations: 8 kB / 0.6888 GB, free: 10.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.1838, allocations: 15.98 kB / 0.6888 GB, free: 10.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1838, allocations: 0 / 0.6888 GB, free: 10.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001096/0.1839, allocations: 61.58 kB / 0.6889 GB, free: 10.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1839, allocations: 8.094 kB / 0.6889 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1839, allocations: 0 / 0.6889 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.184, allocations: 11.89 kB / 0.6889 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.184, allocations: 7.984 kB / 0.6889 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.184, allocations: 0 / 0.6889 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.1841, allocations: 4 kB / 0.6889 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1841, allocations: 0 / 0.6889 GB, free: 10.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.252e-05/0.1842, allocations: 113.8 kB / 0.689 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.1842, allocations: 7.906 kB / 0.689 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.1844, allocations: 61.2 kB / 0.6891 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1844, allocations: 0 / 0.6891 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1844, allocations: 7.953 kB / 0.6891 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1844, allocations: 0 / 0.6891 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.1846, allocations: 169.6 kB / 0.6892 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1846, allocations: 0 / 0.6892 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.1846, allocations: 7.938 kB / 0.6892 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1846, allocations: 4.031 kB / 0.6892 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.1846, allocations: 0 / 0.6892 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1846, allocations: 0 / 0.6892 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1846, allocations: 0 / 0.6892 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1848, allocations: 163.4 kB / 0.6894 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.1849, allocations: 77.14 kB / 0.6895 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1849, allocations: 11.94 kB / 0.6895 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.977e-05/0.185, allocations: 0 / 0.6895 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.185, allocations: 7.984 kB / 0.6895 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.185, allocations: 4 kB / 0.6895 GB, free: 9.887 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.43e-05/0.1851, allocations: 99.22 kB / 0.6896 GB, free: 9.789 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1851, allocations: 0 / 0.6896 GB, free: 9.789 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.1853, allocations: 15.94 kB / 0.6896 GB, free: 9.773 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001691/0.1855, allocations: 103.2 kB / 0.6897 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.1856, allocations: 27.92 kB / 0.6897 GB, free: 9.637 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1856, allocations: 0 / 0.6897 GB, free: 9.637 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.783e-05/0.1857, allocations: 19.98 kB / 0.6897 GB, free: 9.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.1859, allocations: 0 / 0.6897 GB, free: 9.617 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.1862, allocations: 149.5 kB / 0.6899 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.1865, allocations: 0.6848 MB / 0.6906 GB, free: 8.738 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.415e-05/0.1865, allocations: 4 kB / 0.6906 GB, free: 8.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.1865, allocations: 7.438 kB / 0.6906 GB, free: 8.727 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1865, allocations: 0 / 0.6906 GB, free: 8.727 MB / 494.1 MB Notification: Performance of Templates: time 0.002496/0.189, allocations: 458.3 kB / 0.691 GB, free: 8.281 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)