Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001391/0.001391, allocations: 106.2 kB / 16.41 MB, free: 6.5 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.001691/0.001691, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8676/0.8676, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.69 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1608, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice): time 0.002823/0.1637, allocations: 1.498 MB / 0.6778 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1649, allocations: 0.6514 MB / 0.6784 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.1649, allocations: 0 / 0.6784 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.165, allocations: 3.938 kB / 0.6784 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.376e-05/0.165, allocations: 11.88 kB / 0.6784 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.1654, allocations: 75.73 kB / 0.6785 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.015e-05/0.1655, allocations: 35.86 kB / 0.6785 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.923e-05/0.1656, allocations: 19.98 kB / 0.6785 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.662e-05/0.1657, allocations: 15.92 kB / 0.6786 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.926e-05/0.1658, allocations: 15.92 kB / 0.6786 GB, free: 8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1658, allocations: 4 kB / 0.6786 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.166, allocations: 103.9 kB / 0.6787 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.166, allocations: 11.94 kB / 0.6787 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.1661, allocations: 15.88 kB / 0.6787 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.1663, allocations: 91.7 kB / 0.6788 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1663, allocations: 4 kB / 0.6788 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1663, allocations: 0 / 0.6788 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1663, allocations: 0 / 0.6788 GB, free: 7.773 MB / 0.5137 GB 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.0004676/0.1668, allocations: 359.3 kB / 0.6791 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1668, allocations: 12.03 kB / 0.6792 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.1669, allocations: 4.844 kB / 0.6792 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.167, allocations: 172.3 kB / 0.6793 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.167, allocations: 4.375 kB / 0.6793 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.1671, allocations: 4.375 kB / 0.6793 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1672, allocations: 61.98 kB / 0.6794 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1673, allocations: 3.938 kB / 0.6794 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1673, allocations: 0 / 0.6794 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1673, allocations: 4 kB / 0.6794 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/0.1674, allocations: 27.97 kB / 0.6794 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.1678, allocations: 276.7 kB / 0.6797 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.1679, allocations: 34.52 kB / 0.6797 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.287e-05/0.168, allocations: 20.91 kB / 0.6797 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006097/0.1686, allocations: 0.5544 MB / 0.6803 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.1687, allocations: 34.55 kB / 0.6803 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.1687, allocations: 0 / 0.6803 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.000285/0.1689, allocations: 65.69 kB / 0.6804 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.169, allocations: 51.41 kB / 0.6804 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.1691, allocations: 121.8 kB / 0.6805 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1692, allocations: 29.64 kB / 0.6806 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.1692, allocations: 92.14 kB / 0.6807 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.1692, allocations: 3.906 kB / 0.6807 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.1693, allocations: 21.64 kB / 0.6807 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1694, allocations: 322.9 kB / 0.681 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.1695, allocations: 7.984 kB / 0.681 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.303e-05/0.1695, allocations: 12 kB / 0.681 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.518e-05/0.1696, allocations: 24.84 kB / 0.681 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1696, allocations: 0 / 0.681 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001246/0.1697, allocations: 57.67 kB / 0.6811 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1698, allocations: 12 kB / 0.6811 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1698, allocations: 0 / 0.6811 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1698, allocations: 3.984 kB / 0.6811 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.1699, allocations: 7.938 kB / 0.6811 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.1699, allocations: 0 / 0.6811 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.887e-05/0.1699, allocations: 4 kB / 0.6811 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.17, allocations: 0 / 0.6811 GB, free: 5.047 MB / 0.5137 GB 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 0.0001128/0.1701, allocations: 114.7 kB / 0.6812 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.1701, allocations: 11.98 kB / 0.6812 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.1703, allocations: 65.11 kB / 0.6813 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1703, allocations: 0 / 0.6813 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1703, allocations: 4 kB / 0.6813 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1703, allocations: 3.938 kB / 0.6813 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.1705, allocations: 165.6 kB / 0.6815 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1705, allocations: 0 / 0.6815 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.1706, allocations: 4 kB / 0.6815 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1706, allocations: 0 / 0.6815 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1706, allocations: 11.97 kB / 0.6815 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1706, allocations: 0 / 0.6815 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1706, allocations: 0 / 0.6815 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.1708, allocations: 155.5 kB / 0.6816 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.1709, allocations: 81.02 kB / 0.6817 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1709, allocations: 0 / 0.6817 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.171, allocations: 7.984 kB / 0.6817 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.171, allocations: 4.031 kB / 0.6817 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.171, allocations: 0 / 0.6817 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.231e-05/0.1711, allocations: 107.6 kB / 0.6818 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1711, allocations: 0 / 0.6818 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000234/0.1714, allocations: 11.94 kB / 0.6818 GB, free: 4.215 MB / 0.5137 GB 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.0001762/0.1715, allocations: 103.3 kB / 0.6819 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.1717, allocations: 31.91 kB / 0.682 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1717, allocations: 4.062 kB / 0.682 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.476e-05/0.1718, allocations: 12 kB / 0.682 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.172, allocations: 7.984 kB / 0.682 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.1724, allocations: 172.1 kB / 0.6821 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.1727, allocations: 0.6807 MB / 0.6828 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.1727, allocations: 7.438 kB / 0.6828 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.1727, allocations: 64 / 0.6828 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of Templates: time 0.002125/0.1748, allocations: 0.745 MB / 0.6835 GB, free: 2.391 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)