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.001115/0.001116, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002129/0.002128, allocations: 274.9 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9333/0.9333, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 96.3 kB / 0.5952 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1643, allocations: 86.99 MB / 0.6802 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002775/0.1671, allocations: 1.491 MB / 0.6816 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1682, allocations: 0.6403 MB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.1682, allocations: 3.938 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.1682, allocations: 7.922 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.373e-05/0.1683, allocations: 11.88 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.1687, allocations: 71.73 kB / 0.6823 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.008e-05/0.1688, allocations: 39.91 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.1689, allocations: 20.22 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/0.1689, allocations: 15.92 kB / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.589e-05/0.169, allocations: 23.86 kB / 0.6824 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.169, allocations: 0 / 0.6824 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.1692, allocations: 103.8 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.1692, allocations: 4 kB / 0.6825 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.1693, allocations: 23.86 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1694, allocations: 87.83 kB / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1695, allocations: 0 / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1695, allocations: 0 / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1695, allocations: 0 / 0.6827 GB, free: 14.13 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.0004149/0.1699, allocations: 359.4 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1699, allocations: 8.031 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.17, allocations: 12.83 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1701, allocations: 164.3 kB / 0.6832 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1701, allocations: 4.375 kB / 0.6832 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.1701, allocations: 4.375 kB / 0.6832 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1703, allocations: 54 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1703, allocations: 3.984 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1703, allocations: 8 kB / 0.6832 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1703, allocations: 7.938 kB / 0.6833 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.287e-05/0.1704, allocations: 27.92 kB / 0.6833 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.1708, allocations: 280.7 kB / 0.6835 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.798e-05/0.1709, allocations: 38.56 kB / 0.6836 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.171, allocations: 16.86 kB / 0.6836 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005016/0.1715, allocations: 0.5583 MB / 0.6841 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1715, allocations: 30.56 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1715, allocations: 4 kB / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000243/0.1718, allocations: 65.67 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.1718, allocations: 51.41 kB / 0.6843 GB, free: 12.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.1719, allocations: 117.8 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.1719, allocations: 25.7 kB / 0.6844 GB, free: 11.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.172, allocations: 88.22 kB / 0.6845 GB, free: 11.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.172, allocations: 15.88 kB / 0.6845 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.1721, allocations: 17.84 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1722, allocations: 314.8 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.375e-05/0.1722, allocations: 15.92 kB / 0.6849 GB, free: 11.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.473e-05/0.1723, allocations: 8 kB / 0.6849 GB, free: 11.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.864e-05/0.1724, allocations: 32.78 kB / 0.6849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1724, allocations: 0 / 0.6849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001181/0.1725, allocations: 61.64 kB / 0.685 GB, free: 11.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1725, allocations: 8 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1725, allocations: 3.984 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1725, allocations: 0 / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.1726, allocations: 4 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1726, allocations: 0 / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.1727, allocations: 7.938 kB / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.1727, allocations: 3.984 kB / 0.685 GB, free: 11.39 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.781e-05/0.1728, allocations: 114.5 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.1728, allocations: 8 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.173, allocations: 61.11 kB / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.173, allocations: 4 kB / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.173, allocations: 0 / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.173, allocations: 3.938 kB / 0.6852 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.1732, allocations: 169.6 kB / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1732, allocations: 0 / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.1732, allocations: 4 kB / 0.6853 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.1732, allocations: 8.016 kB / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1732, allocations: 0 / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1732, allocations: 0 / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1733, allocations: 0 / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.1734, allocations: 155.9 kB / 0.6855 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.1735, allocations: 81.02 kB / 0.6856 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.1735, allocations: 3.984 kB / 0.6856 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.057e-05/0.1736, allocations: 8.031 kB / 0.6856 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.1736, allocations: 4 kB / 0.6856 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1736, allocations: 0 / 0.6856 GB, free: 10.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.679e-05/0.1737, allocations: 99.27 kB / 0.6857 GB, free: 10.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1737, allocations: 0 / 0.6857 GB, free: 10.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.1739, allocations: 15.94 kB / 0.6857 GB, free: 10.57 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.0001482/0.1741, allocations: 107.2 kB / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.1742, allocations: 27.92 kB / 0.6858 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1742, allocations: 0 / 0.6858 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.496e-05/0.1743, allocations: 12 kB / 0.6858 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.1745, allocations: 13.95 kB / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.1748, allocations: 130.7 kB / 0.686 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.175, allocations: 0.6847 MB / 0.6866 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.438e-05/0.1751, allocations: 3.984 kB / 0.6866 GB, free: 9.539 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.1751, allocations: 19.38 kB / 0.6867 GB, free: 9.52 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1751, allocations: 0 / 0.6867 GB, free: 9.52 MB / 494.1 MB Notification: Performance of Templates: time 0.002741/0.1779, allocations: 493.8 kB / 0.6871 GB, free: 9.043 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)