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.007727/0.007727, allocations: 104.4 kB / 15.74 MB, free: 6.027 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.001698/0.001698, allocations: 196.1 kB / 16.67 MB, free: 5.961 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.34 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 1.014/1.014, allocations: 143 MB / 433.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.89 kB / 0.5956 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.495/0.4963, allocations: 82.03 MB / 0.6757 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001576/0.4979, allocations: 0.5802 MB / 0.6762 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.4993, allocations: 1.256 MB / 0.6775 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.4994, allocations: 5.406 kB / 0.6775 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.4994, allocations: 0 / 0.6775 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.472e-06/0.4994, allocations: 0 / 0.6775 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.4998, allocations: 59.41 kB / 0.6775 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.222e-05/0.4999, allocations: 10.94 kB / 0.6775 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.4999, allocations: 3.984 kB / 0.6775 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.647e-05/0.4999, allocations: 5.391 kB / 0.6775 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.234e-05/0.5, allocations: 1.469 kB / 0.6776 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.265e-06/0.5, allocations: 0 / 0.6776 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.5003, allocations: 94.73 kB / 0.6776 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.5003, allocations: 5.344 kB / 0.6776 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.662e-05/0.5003, allocations: 0 / 0.6776 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.5005, allocations: 51.98 kB / 0.6777 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5005, allocations: 3.938 kB / 0.6777 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5005, allocations: 4 kB / 0.6777 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.5005, allocations: 0 / 0.6777 GB, free: 15.95 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.0003922/0.5009, allocations: 331.3 kB / 0.678 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.501, allocations: 9.969 kB / 0.678 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.501, allocations: 0.9375 kB / 0.678 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.893e-05/0.5011, allocations: 165.4 kB / 0.6782 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.5011, allocations: 384 / 0.6782 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.5011, allocations: 5.531 kB / 0.6782 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.5012, allocations: 31.11 kB / 0.6782 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.5013, allocations: 5.125 kB / 0.6782 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.5013, allocations: 0 / 0.6782 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5013, allocations: 0 / 0.6782 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.961e-05/0.5013, allocations: 2.094 kB / 0.6782 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.5015, allocations: 150.8 kB / 0.6784 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.542e-05/0.5015, allocations: 16.92 kB / 0.6784 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.5015, allocations: 10.17 kB / 0.6784 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006199/0.5022, allocations: 0.5632 MB / 0.6789 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.5022, allocations: 39.39 kB / 0.679 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.5022, allocations: 0 / 0.679 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001376/0.5024, allocations: 31.14 kB / 0.679 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.5024, allocations: 51.41 kB / 0.6791 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.948e-05/0.5025, allocations: 91.08 kB / 0.6792 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.5025, allocations: 29.7 kB / 0.6792 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.5025, allocations: 80.14 kB / 0.6793 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.5025, allocations: 5.109 kB / 0.6793 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.5026, allocations: 15.78 kB / 0.6793 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5027, allocations: 314.8 kB / 0.6796 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.5027, allocations: 9.125 kB / 0.6796 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-06/0.5027, allocations: 1.062 kB / 0.6796 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/0.5028, allocations: 12.52 kB / 0.6796 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5028, allocations: 0 / 0.6796 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.6e-05/0.5028, allocations: 31.02 kB / 0.6796 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5029, allocations: 9.75 kB / 0.6796 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.5029, allocations: 3.938 kB / 0.6796 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.5029, allocations: 0 / 0.6796 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.584e-05/0.503, allocations: 2.031 kB / 0.6796 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.503, allocations: 1.656 kB / 0.6796 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.503, allocations: 11.92 kB / 0.6797 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.503, allocations: 0 / 0.6797 GB, free: 13.68 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.794e-05/0.5031, allocations: 115.2 kB / 0.6798 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-06/0.5031, allocations: 5.031 kB / 0.6798 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.247e-05/0.5032, allocations: 34.02 kB / 0.6798 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.5032, allocations: 0 / 0.6798 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5032, allocations: 9.312 kB / 0.6798 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5032, allocations: 0 / 0.6798 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.5033, allocations: 146.8 kB / 0.68 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5033, allocations: 4.031 kB / 0.68 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.5033, allocations: 2.781 kB / 0.68 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5034, allocations: 3.938 kB / 0.68 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.5034, allocations: 0 / 0.68 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5034, allocations: 5.094 kB / 0.68 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5034, allocations: 0 / 0.68 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.016e-05/0.5035, allocations: 59.59 kB / 0.68 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.5035, allocations: 86.2 kB / 0.6801 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.5035, allocations: 3.938 kB / 0.6801 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.042e-05/0.5035, allocations: 1.312 kB / 0.6801 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.5036, allocations: 0 / 0.6801 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-06/0.5036, allocations: 1.094 kB / 0.6801 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.919e-05/0.5036, allocations: 75.28 kB / 0.6802 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5036, allocations: 0 / 0.6802 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001838/0.5038, allocations: 9.859 kB / 0.6802 GB, free: 13.05 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.0001947/0.504, allocations: 106.3 kB / 0.6803 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.882e-05/0.5041, allocations: 3.219 kB / 0.6803 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5041, allocations: 1.062 kB / 0.6803 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.5041, allocations: 6.031 kB / 0.6803 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.5042, allocations: 7.953 kB / 0.6803 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001761/0.5044, allocations: 78.92 kB / 0.6804 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.5047, allocations: 0.6702 MB / 0.681 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.03e-05/0.5047, allocations: 13.25 kB / 0.6811 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.573e-05/0.5047, allocations: 8.781 kB / 0.6811 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.5047, allocations: 0 / 0.6811 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.002334/0.5071, allocations: 307.4 kB / 0.6814 GB, free: 11.97 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)