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.005513/0.005513, allocations: 108.5 kB / 15.71 MB, free: 5.98 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.001204/0.001204, allocations: 187.6 kB / 16.64 MB, free: 5.914 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.478/1.478, allocations: 222.9 MB / 240.3 MB, free: 15.09 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.9001/0.9001, allocations: 143 MB / 433.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.8 kB / 0.5955 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1738, allocations: 82.03 MB / 0.6756 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002132/0.176, allocations: 0.5817 MB / 0.6762 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1779, allocations: 1.256 MB / 0.6774 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.178, allocations: 0 / 0.6774 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.178, allocations: 0 / 0.6774 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-06/0.178, allocations: 4 kB / 0.6774 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.1784, allocations: 63.75 kB / 0.6775 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.286e-05/0.1785, allocations: 0 / 0.6775 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.1785, allocations: 0 / 0.6775 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.711e-05/0.1785, allocations: 7.984 kB / 0.6775 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.102e-05/0.1786, allocations: 4 kB / 0.6775 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.1786, allocations: 0 / 0.6775 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.1788, allocations: 103.9 kB / 0.6776 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.808e-06/0.1789, allocations: 0 / 0.6776 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.584e-05/0.1789, allocations: 0 / 0.6776 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.179, allocations: 55.88 kB / 0.6777 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.179, allocations: 0 / 0.6777 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.432e-06/0.179, allocations: 0 / 0.6777 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.179, allocations: 0 / 0.6777 GB, free: 8.25 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.0003803/0.1794, allocations: 327.6 kB / 0.678 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1795, allocations: 8.031 kB / 0.678 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.1795, allocations: 0.9375 kB / 0.678 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1796, allocations: 164.4 kB / 0.6781 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1797, allocations: 384 / 0.6781 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.1797, allocations: 12.25 kB / 0.6781 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.1798, allocations: 34.02 kB / 0.6782 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1798, allocations: 0 / 0.6782 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1798, allocations: 0 / 0.6782 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1798, allocations: 0 / 0.6782 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.505e-05/0.1799, allocations: 8 kB / 0.6782 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.18, allocations: 141.7 kB / 0.6783 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.585e-05/0.1801, allocations: 22.59 kB / 0.6783 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/0.1801, allocations: 12.8 kB / 0.6783 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006724/0.1808, allocations: 0.5584 MB / 0.6789 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.1808, allocations: 42.48 kB / 0.6789 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.1808, allocations: 0 / 0.6789 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001645/0.181, allocations: 33.7 kB / 0.679 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1811, allocations: 55.41 kB / 0.679 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.953e-05/0.1811, allocations: 89.86 kB / 0.6791 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1812, allocations: 25.7 kB / 0.6791 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.1812, allocations: 80.14 kB / 0.6792 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.1812, allocations: 128 / 0.6792 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.1813, allocations: 17.72 kB / 0.6792 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1814, allocations: 310.8 kB / 0.6795 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.1814, allocations: 7.922 kB / 0.6795 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-06/0.1814, allocations: 4 kB / 0.6795 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.942e-05/0.1814, allocations: 8.859 kB / 0.6795 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1814, allocations: 0 / 0.6795 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.28e-05/0.1815, allocations: 33.7 kB / 0.6796 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1815, allocations: 17.69 kB / 0.6796 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1815, allocations: 0 / 0.6796 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1815, allocations: 0 / 0.6796 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.574e-05/0.1816, allocations: 4 kB / 0.6796 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1816, allocations: 0 / 0.6796 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.148e-05/0.1816, allocations: 0 / 0.6796 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1816, allocations: 0 / 0.6796 GB, free: 5.91 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 6.419e-05/0.1817, allocations: 113.8 kB / 0.6797 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.1817, allocations: 7.938 kB / 0.6797 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.1819, allocations: 48.67 kB / 0.6798 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1819, allocations: 3.984 kB / 0.6798 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1819, allocations: 0 / 0.6798 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1819, allocations: 0 / 0.6798 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.359e-05/0.182, allocations: 149.7 kB / 0.6799 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.182, allocations: 0 / 0.6799 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.346e-05/0.182, allocations: 0 / 0.6799 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.182, allocations: 3.938 kB / 0.6799 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.182, allocations: 3.969 kB / 0.6799 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.182, allocations: 8 kB / 0.6799 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.182, allocations: 0 / 0.6799 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.004e-05/0.1821, allocations: 61.06 kB / 0.68 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.1821, allocations: 77.11 kB / 0.68 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1822, allocations: 7.938 kB / 0.6801 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-06/0.1822, allocations: 0 / 0.6801 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.1822, allocations: 0 / 0.6801 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.1822, allocations: 4.031 kB / 0.6801 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.564e-05/0.1822, allocations: 75.28 kB / 0.6801 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1822, allocations: 0 / 0.6801 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002278/0.1825, allocations: 11.98 kB / 0.6801 GB, free: 5.246 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.0001665/0.1826, allocations: 107.2 kB / 0.6802 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.458e-05/0.1827, allocations: 8 kB / 0.6803 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1827, allocations: 0 / 0.6803 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.856e-06/0.1827, allocations: 12 kB / 0.6803 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.1829, allocations: 0 / 0.6803 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001919/0.1831, allocations: 80.92 kB / 0.6803 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.1833, allocations: 0.6728 MB / 0.681 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.789e-05/0.1833, allocations: 0 / 0.681 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/0.1833, allocations: 7.438 kB / 0.681 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1834, allocations: 0 / 0.681 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of Templates: time 0.002212/0.1856, allocations: 320.6 kB / 0.6813 GB, free: 3.984 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)