Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 110.5 kB / 16.41 MB, free: 6.504 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.001086/0.001086, allocations: 188.1 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.14 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.8339/0.8339, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.66 kB / 0.5962 GB, free: 12.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1654, allocations: 82.04 MB / 0.6763 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001863/0.1673, allocations: 0.5808 MB / 0.6769 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.1691, allocations: 1.252 MB / 0.6781 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.1691, allocations: 4 kB / 0.6781 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.1692, allocations: 3.938 kB / 0.6781 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.1692, allocations: 3.938 kB / 0.6781 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.1696, allocations: 63.81 kB / 0.6782 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.42e-05/0.1696, allocations: 0 / 0.6782 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.1697, allocations: 3.938 kB / 0.6782 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.434e-05/0.1697, allocations: 8 kB / 0.6782 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.837e-05/0.1698, allocations: 0 / 0.6782 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.737e-06/0.1698, allocations: 0 / 0.6782 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.17, allocations: 99.89 kB / 0.6783 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.17, allocations: 0 / 0.6783 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.1701, allocations: 7.969 kB / 0.6783 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.1702, allocations: 47.95 kB / 0.6784 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1702, allocations: 0 / 0.6784 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1702, allocations: 0 / 0.6784 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1702, allocations: 0 / 0.6784 GB, free: 8.211 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003206/0.1706, allocations: 331.6 kB / 0.6787 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1706, allocations: 11.97 kB / 0.6787 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.1706, allocations: 0.9375 kB / 0.6787 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.612e-05/0.1707, allocations: 164.3 kB / 0.6789 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1708, allocations: 4.375 kB / 0.6789 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.1708, allocations: 384 / 0.6789 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.734e-05/0.1709, allocations: 33.95 kB / 0.6789 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1709, allocations: 0 / 0.6789 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.1709, allocations: 0 / 0.6789 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.1709, allocations: 7.984 kB / 0.6789 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.1709, allocations: 7.984 kB / 0.6789 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.1711, allocations: 149.7 kB / 0.6791 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.713e-05/0.1711, allocations: 18.61 kB / 0.6791 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.1712, allocations: 4.859 kB / 0.6791 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005713/0.1717, allocations: 0.5662 MB / 0.6796 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.1718, allocations: 42.44 kB / 0.6797 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1718, allocations: 0 / 0.6797 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001296/0.1719, allocations: 29.7 kB / 0.6797 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.172, allocations: 51.41 kB / 0.6797 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.067e-05/0.172, allocations: 89.86 kB / 0.6798 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.172, allocations: 25.7 kB / 0.6799 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.1721, allocations: 84.12 kB / 0.6799 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.1721, allocations: 12.12 kB / 0.6799 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.1721, allocations: 9.719 kB / 0.68 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1722, allocations: 310.8 kB / 0.6803 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.1723, allocations: 0 / 0.6803 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-06/0.1723, allocations: 4 kB / 0.6803 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.717e-05/0.1723, allocations: 8.797 kB / 0.6803 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1723, allocations: 4 kB / 0.6803 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.593e-05/0.1724, allocations: 41.75 kB / 0.6803 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1724, allocations: 9.656 kB / 0.6803 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1724, allocations: 0 / 0.6803 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1724, allocations: 0 / 0.6803 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.258e-05/0.1725, allocations: 4 kB / 0.6803 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1725, allocations: 0 / 0.6803 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.135e-05/0.1725, allocations: 0 / 0.6803 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1725, allocations: 0 / 0.6803 GB, free: 5.863 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 (1): * Single equations (assignments): 1 * 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.793e-05/0.1726, allocations: 110.5 kB / 0.6804 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/0.1726, allocations: 3.938 kB / 0.6804 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.222e-05/0.1727, allocations: 56.56 kB / 0.6805 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1727, allocations: 0 / 0.6805 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1727, allocations: 0 / 0.6805 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1727, allocations: 4 kB / 0.6805 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.1728, allocations: 153.6 kB / 0.6806 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1728, allocations: 0 / 0.6806 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.1729, allocations: 3.984 kB / 0.6806 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1729, allocations: 3.938 kB / 0.6806 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.1729, allocations: 8.031 kB / 0.6806 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1729, allocations: 0 / 0.6806 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1729, allocations: 0 / 0.6806 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.518e-05/0.173, allocations: 57.08 kB / 0.6807 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.173, allocations: 81.11 kB / 0.6808 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.173, allocations: 7.922 kB / 0.6808 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-06/0.173, allocations: 0 / 0.6808 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-06/0.1731, allocations: 4.031 kB / 0.6808 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.1731, allocations: 0 / 0.6808 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.64e-05/0.1731, allocations: 75.28 kB / 0.6809 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1731, allocations: 0 / 0.6809 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000187/0.1733, allocations: 8 kB / 0.6809 GB, free: 5.199 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 (1): * Single equations (assignments): 1 * 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.0001658/0.1735, allocations: 103.2 kB / 0.681 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.844e-05/0.1735, allocations: 7.984 kB / 0.681 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1735, allocations: 0 / 0.681 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-06/0.1736, allocations: 8.062 kB / 0.681 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.1737, allocations: 3.938 kB / 0.681 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001803/0.1739, allocations: 102.6 kB / 0.6811 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1741, allocations: 0.669 MB / 0.6817 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.1742, allocations: 11.42 kB / 0.6818 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1742, allocations: 0 / 0.6818 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of Templates: time 0.001758/0.1759, allocations: 450.9 kB / 0.6822 GB, free: 3.789 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)