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.001217/0.001217, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001285/0.001285, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.204/1.204, 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.7835/0.7835, allocations: 143 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 68.52 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1316, allocations: 82.03 MB / 0.6764 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001507/0.1331, allocations: 0.5867 MB / 0.6769 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.1346, allocations: 1.245 MB / 0.6781 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.677e-05/0.1346, allocations: 0 / 0.6781 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.311e-05/0.1346, allocations: 0 / 0.6781 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.1346, allocations: 3.938 kB / 0.6781 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.135, allocations: 71.75 kB / 0.6782 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.749e-05/0.135, allocations: 0 / 0.6782 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.1351, allocations: 3.984 kB / 0.6782 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.214e-05/0.1351, allocations: 4 kB / 0.6782 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.344e-05/0.1351, allocations: 0 / 0.6782 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.642e-06/0.1351, allocations: 0 / 0.6782 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.1354, allocations: 107.8 kB / 0.6783 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.1354, allocations: 0 / 0.6783 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/0.1354, allocations: 3.984 kB / 0.6783 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.1355, allocations: 47.95 kB / 0.6784 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1355, allocations: 4 kB / 0.6784 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1355, allocations: 0 / 0.6784 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1355, allocations: 3.984 kB / 0.6784 GB, free: 8.219 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.0002641/0.1358, allocations: 319.6 kB / 0.6787 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.1358, allocations: 11.97 kB / 0.6787 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.1359, allocations: 0.9375 kB / 0.6787 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.378e-05/0.136, allocations: 164.4 kB / 0.6789 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.136, allocations: 4.312 kB / 0.6789 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-06/0.136, allocations: 4.375 kB / 0.6789 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.319e-05/0.1361, allocations: 38.02 kB / 0.6789 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.1361, allocations: 0 / 0.6789 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.1361, allocations: 0 / 0.6789 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1361, allocations: 0 / 0.6789 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.1361, allocations: 7.938 kB / 0.6789 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.1362, allocations: 149.7 kB / 0.679 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.193e-05/0.1363, allocations: 18.61 kB / 0.6791 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.37e-05/0.1363, allocations: 8.859 kB / 0.6791 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004702/0.1368, allocations: 0.5623 MB / 0.6796 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1368, allocations: 34.5 kB / 0.6797 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1368, allocations: 0 / 0.6797 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001127/0.1369, allocations: 41.64 kB / 0.6797 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.137, allocations: 51.53 kB / 0.6797 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.019e-05/0.137, allocations: 93.86 kB / 0.6798 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.137, allocations: 25.7 kB / 0.6799 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.507e-05/0.137, allocations: 80.14 kB / 0.6799 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.1371, allocations: 0 / 0.6799 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.1371, allocations: 13.72 kB / 0.6799 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.1372, allocations: 314.8 kB / 0.6802 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.1372, allocations: 4 kB / 0.6803 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-06/0.1372, allocations: 4 kB / 0.6803 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.295e-05/0.1372, allocations: 12.92 kB / 0.6803 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1373, allocations: 3.938 kB / 0.6803 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.091e-05/0.1373, allocations: 33.7 kB / 0.6803 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1373, allocations: 7.938 kB / 0.6803 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1373, allocations: 0 / 0.6803 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1373, allocations: 0 / 0.6803 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.064e-05/0.1374, allocations: 7.984 kB / 0.6803 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1374, allocations: 0 / 0.6803 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.046e-05/0.1374, allocations: 0 / 0.6803 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1374, allocations: 4.031 kB / 0.6803 GB, free: 5.875 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 5.665e-05/0.1375, allocations: 106.5 kB / 0.6804 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.974e-06/0.1375, allocations: 7.938 kB / 0.6804 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.165e-05/0.1376, allocations: 48.61 kB / 0.6805 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1376, allocations: 11.91 kB / 0.6805 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1376, allocations: 0 / 0.6805 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.1376, allocations: 4.031 kB / 0.6805 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.277e-05/0.1377, allocations: 149.6 kB / 0.6806 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1377, allocations: 0 / 0.6806 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.421e-05/0.1377, allocations: 0 / 0.6806 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1377, allocations: 3.938 kB / 0.6806 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.1377, allocations: 0 / 0.6806 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1377, allocations: 4 kB / 0.6806 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1377, allocations: 0 / 0.6806 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.736e-05/0.1378, allocations: 61.12 kB / 0.6807 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.747e-05/0.1378, allocations: 77.11 kB / 0.6808 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.1379, allocations: 7.938 kB / 0.6808 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.308e-06/0.1379, allocations: 3.938 kB / 0.6808 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-06/0.1379, allocations: 0 / 0.6808 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.1379, allocations: 3.984 kB / 0.6808 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 1.917e-05/0.1379, allocations: 75.28 kB / 0.6809 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1379, allocations: 0 / 0.6809 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001928/0.1381, allocations: 4 kB / 0.6809 GB, free: 5.219 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.0001345/0.1383, allocations: 111.3 kB / 0.681 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 5.84e-05/0.1383, allocations: 8 kB / 0.681 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1383, allocations: 0 / 0.681 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.614e-06/0.1383, allocations: 4 kB / 0.681 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.1385, allocations: 3.984 kB / 0.681 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001639/0.1386, allocations: 98.64 kB / 0.6811 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.1388, allocations: 0.6767 MB / 0.6817 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/0.1388, allocations: 11.56 kB / 0.6818 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1388, allocations: 0 / 0.6818 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of Templates: time 0.001454/0.1403, allocations: 450.8 kB / 0.6822 GB, free: 3.801 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)