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.005142/0.005142, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.001121/0.001121, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.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.9932/0.9932, allocations: 143 MB / 433.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 0.5956 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4673/0.4685, allocations: 82.03 MB / 0.6757 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001568/0.4701, allocations: 0.573 MB / 0.6762 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.4715, allocations: 1.264 MB / 0.6775 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.618e-05/0.4715, allocations: 0 / 0.6775 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.4715, allocations: 1.094 kB / 0.6775 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.333e-06/0.4715, allocations: 0 / 0.6775 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.4719, allocations: 59.53 kB / 0.6775 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.8e-05/0.472, allocations: 6.297 kB / 0.6775 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.472, allocations: 1.156 kB / 0.6775 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.965e-05/0.4721, allocations: 1.062 kB / 0.6775 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.898e-05/0.4721, allocations: 9.094 kB / 0.6775 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.4721, allocations: 0 / 0.6775 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.4724, allocations: 99.27 kB / 0.6776 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.4724, allocations: 0 / 0.6776 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.013e-05/0.4725, allocations: 1.156 kB / 0.6776 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.4726, allocations: 51.56 kB / 0.6777 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.4726, allocations: 5.141 kB / 0.6777 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.095e-06/0.4726, allocations: 0 / 0.6777 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.4726, allocations: 3.938 kB / 0.6777 GB, free: 15.87 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.0003483/0.473, allocations: 326.4 kB / 0.678 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.473, allocations: 12.59 kB / 0.678 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.4731, allocations: 6.109 kB / 0.678 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.125e-05/0.4732, allocations: 164.3 kB / 0.6782 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.4732, allocations: 384 / 0.6782 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.4732, allocations: 1.781 kB / 0.6782 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.4733, allocations: 32.08 kB / 0.6782 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.4733, allocations: 0 / 0.6782 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.4733, allocations: 0 / 0.6782 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4734, allocations: 3.984 kB / 0.6782 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.048e-05/0.4734, allocations: 6.188 kB / 0.6782 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.4735, allocations: 146.8 kB / 0.6784 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.317e-05/0.4736, allocations: 25.02 kB / 0.6784 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.4736, allocations: 6.016 kB / 0.6784 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007216/0.4743, allocations: 0.5587 MB / 0.6789 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.4744, allocations: 44.34 kB / 0.679 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.4744, allocations: 0 / 0.679 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001437/0.4745, allocations: 30.45 kB / 0.679 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.4746, allocations: 52.78 kB / 0.6791 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.926e-05/0.4746, allocations: 93.8 kB / 0.6792 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.4746, allocations: 25.7 kB / 0.6792 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.4747, allocations: 84.08 kB / 0.6793 GB, free: 14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.4747, allocations: 1.312 kB / 0.6793 GB, free: 14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.4748, allocations: 19.3 kB / 0.6793 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4749, allocations: 316.3 kB / 0.6796 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.4749, allocations: 1.312 kB / 0.6796 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.4749, allocations: 1.406 kB / 0.6796 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.745e-05/0.4749, allocations: 7.391 kB / 0.6796 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.475, allocations: 0 / 0.6796 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.977e-05/0.475, allocations: 30.8 kB / 0.6796 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.475, allocations: 13.06 kB / 0.6796 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.475, allocations: 1.094 kB / 0.6796 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.4751, allocations: 0 / 0.6796 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.905e-05/0.4751, allocations: 14.05 kB / 0.6796 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.4751, allocations: 0 / 0.6796 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.389e-05/0.4752, allocations: 4.938 kB / 0.6796 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.4752, allocations: 0 / 0.6796 GB, free: 13.6 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.441e-05/0.4752, allocations: 111.7 kB / 0.6798 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.714e-06/0.4753, allocations: 3.938 kB / 0.6798 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.021e-05/0.4753, allocations: 42.34 kB / 0.6798 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.4754, allocations: 1.219 kB / 0.6798 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4754, allocations: 0 / 0.6798 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4754, allocations: 1.281 kB / 0.6798 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.471e-05/0.4755, allocations: 141.7 kB / 0.6799 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4755, allocations: 1.406 kB / 0.6799 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.388e-05/0.4755, allocations: 1.062 kB / 0.6799 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.4755, allocations: 8.844 kB / 0.6799 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.4755, allocations: 8.031 kB / 0.68 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4755, allocations: 0.9688 kB / 0.68 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4755, allocations: 7.922 kB / 0.68 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.641e-05/0.4756, allocations: 51.86 kB / 0.68 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.4757, allocations: 77.11 kB / 0.6801 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.4757, allocations: 4.938 kB / 0.6801 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-06/0.4757, allocations: 1.094 kB / 0.6801 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.4757, allocations: 8.016 kB / 0.6801 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.4757, allocations: 0.875 kB / 0.6801 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.882e-05/0.4758, allocations: 79.28 kB / 0.6802 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4758, allocations: 0.9688 kB / 0.6802 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001873/0.4759, allocations: 5.281 kB / 0.6802 GB, free: 12.98 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.0002011/0.4762, allocations: 110.5 kB / 0.6803 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.545e-05/0.4762, allocations: 7.469 kB / 0.6803 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4762, allocations: 3.938 kB / 0.6803 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.957e-06/0.4763, allocations: 10.27 kB / 0.6803 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.4764, allocations: 6.297 kB / 0.6803 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002005/0.4766, allocations: 78.16 kB / 0.6804 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.4769, allocations: 0.6702 MB / 0.681 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.945e-05/0.4769, allocations: 5.266 kB / 0.681 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.4769, allocations: 8.344 kB / 0.6811 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.4769, allocations: 9.094 kB / 0.6811 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of Templates: time 0.002311/0.4792, allocations: 307.1 kB / 0.6814 GB, free: 11.89 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)