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.001501/0.001501, allocations: 106.5 kB / 16.41 MB, free: 6.492 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.001563/0.001563, allocations: 185.5 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.41/1.41, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.9014/0.9014, allocations: 143.1 MB / 434.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 64.84 kB / 0.5962 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.165, allocations: 82.02 MB / 0.6764 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001749/0.1668, allocations: 0.5883 MB / 0.6769 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1685, allocations: 1.252 MB / 0.6781 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.1685, allocations: 4 kB / 0.6782 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.1685, allocations: 3.938 kB / 0.6782 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.932e-06/0.1685, allocations: 0 / 0.6782 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.1689, allocations: 63.75 kB / 0.6782 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.769e-05/0.1689, allocations: 4 kB / 0.6782 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.169, allocations: 0 / 0.6782 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.177e-05/0.169, allocations: 0 / 0.6782 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.129e-05/0.169, allocations: 7.984 kB / 0.6782 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.767e-06/0.169, allocations: 0 / 0.6782 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.1693, allocations: 103.8 kB / 0.6783 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.1693, allocations: 4 kB / 0.6783 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.1693, allocations: 3.984 kB / 0.6783 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1694, allocations: 55.81 kB / 0.6784 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1694, allocations: 0 / 0.6784 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1694, allocations: 0 / 0.6784 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.1694, allocations: 0 / 0.6784 GB, free: 8.188 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.000372/0.1698, allocations: 327.4 kB / 0.6787 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1699, allocations: 8.031 kB / 0.6787 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.1699, allocations: 0.9375 kB / 0.6787 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.17, allocations: 168.3 kB / 0.6789 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.17, allocations: 4.375 kB / 0.6789 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.17, allocations: 384 / 0.6789 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.699e-05/0.1701, allocations: 38 kB / 0.6789 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1701, allocations: 4 kB / 0.6789 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.1702, allocations: 0 / 0.6789 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1702, allocations: 0 / 0.6789 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.357e-05/0.1702, allocations: 7.938 kB / 0.6789 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.1703, allocations: 141.7 kB / 0.6791 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.14e-05/0.1704, allocations: 22.58 kB / 0.6791 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.1704, allocations: 8.953 kB / 0.6791 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006505/0.1711, allocations: 0.5583 MB / 0.6796 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.1711, allocations: 34.5 kB / 0.6797 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1711, allocations: 0 / 0.6797 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001546/0.1713, allocations: 49.62 kB / 0.6797 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.1713, allocations: 51.41 kB / 0.6798 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.345e-05/0.1713, allocations: 89.86 kB / 0.6798 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1714, allocations: 25.7 kB / 0.6799 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.996e-05/0.1714, allocations: 80.14 kB / 0.6799 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.1714, allocations: 3.953 kB / 0.68 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.1715, allocations: 13.72 kB / 0.68 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1716, allocations: 315 kB / 0.6803 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-06/0.1716, allocations: 4 kB / 0.6803 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-06/0.1716, allocations: 0 / 0.6803 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.025e-05/0.1717, allocations: 8.859 kB / 0.6803 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1717, allocations: 0 / 0.6803 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.875e-05/0.1717, allocations: 41.62 kB / 0.6803 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1717, allocations: 7.938 kB / 0.6803 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1717, allocations: 0 / 0.6803 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1717, allocations: 0 / 0.6803 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.615e-05/0.1718, allocations: 8.094 kB / 0.6803 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1718, allocations: 0 / 0.6803 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.109e-05/0.1718, allocations: 0 / 0.6803 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.1718, allocations: 0 / 0.6803 GB, free: 5.844 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 8.694e-05/0.1719, allocations: 110.5 kB / 0.6804 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.1719, allocations: 11.86 kB / 0.6804 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.557e-05/0.172, allocations: 44.75 kB / 0.6805 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.172, allocations: 7.969 kB / 0.6805 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.172, allocations: 0 / 0.6805 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.172, allocations: 0 / 0.6805 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1721, allocations: 145.7 kB / 0.6806 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1721, allocations: 0 / 0.6806 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.409e-05/0.1722, allocations: 4 kB / 0.6806 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1722, allocations: 3.938 kB / 0.6806 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.1722, allocations: 0 / 0.6806 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1722, allocations: 0 / 0.6806 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1722, allocations: 0 / 0.6806 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.171e-05/0.1722, allocations: 65.12 kB / 0.6807 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.1723, allocations: 77.11 kB / 0.6808 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.1723, allocations: 7.922 kB / 0.6808 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.182e-05/0.1723, allocations: 4 kB / 0.6808 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.1723, allocations: 4 kB / 0.6808 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.1723, allocations: 0 / 0.6808 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.631e-05/0.1724, allocations: 75.28 kB / 0.6809 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1724, allocations: 32 / 0.6809 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002042/0.1726, allocations: 19.88 kB / 0.6809 GB, free: 5.176 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.0001835/0.1728, allocations: 107.2 kB / 0.681 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.615e-05/0.1728, allocations: 4 kB / 0.681 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1728, allocations: 0 / 0.681 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.286e-06/0.1729, allocations: 4 kB / 0.681 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.173, allocations: 0 / 0.681 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.1732, allocations: 113.9 kB / 0.6811 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1736, allocations: 0.6768 MB / 0.6818 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.1736, allocations: 7.438 kB / 0.6818 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.1736, allocations: 0 / 0.6818 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of Templates: time 0.001913/0.1755, allocations: 435.8 kB / 0.6822 GB, free: 3.773 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)