Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004502/0.004502, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001057/0.001057, allocations: 202.1 kB / 16.68 MB, free: 5.969 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.016/1.016, allocations: 143 MB / 433.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.89 kB / 0.5951 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.501/0.503, allocations: 82.02 MB / 0.6752 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001815/0.5049, allocations: 0.6098 MB / 0.6758 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002321/0.5072, allocations: 1.442 MB / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.5073, allocations: 0 / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.71e-05/0.5073, allocations: 4 kB / 0.6772 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.6e-05/0.5074, allocations: 9.266 kB / 0.6772 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008031/0.5082, allocations: 201.6 kB / 0.6774 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.5084, allocations: 47.7 kB / 0.6775 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.5084, allocations: 2.406 kB / 0.6775 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.5084, allocations: 14.77 kB / 0.6775 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/0.5085, allocations: 24.45 kB / 0.6775 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.5085, allocations: 2.406 kB / 0.6775 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.509, allocations: 248.5 kB / 0.6777 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/0.509, allocations: 3 kB / 0.6778 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.5091, allocations: 20.55 kB / 0.6778 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.5095, allocations: 220.8 kB / 0.678 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5095, allocations: 0 / 0.678 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.235e-06/0.5095, allocations: 1.062 kB / 0.678 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.5095, allocations: 0 / 0.678 GB, free: 15.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005216/0.51, allocations: 409.3 kB / 0.6784 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5101, allocations: 9.062 kB / 0.6784 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.5101, allocations: 33.28 kB / 0.6784 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.5102, allocations: 3.5 kB / 0.6784 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.5103, allocations: 171 kB / 0.6786 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.5103, allocations: 2.219 kB / 0.6786 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.5103, allocations: 3.062 kB / 0.6786 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.5105, allocations: 86.41 kB / 0.6787 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.5105, allocations: 0 / 0.6787 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.5105, allocations: 1.219 kB / 0.6787 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5105, allocations: 5 kB / 0.6787 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.531e-05/0.5106, allocations: 32.55 kB / 0.6787 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.5108, allocations: 160.3 kB / 0.6789 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.5109, allocations: 68.72 kB / 0.6789 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.112e-05/0.511, allocations: 48.89 kB / 0.679 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.511, allocations: 7.938 kB / 0.679 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.511, allocations: 36.5 kB / 0.679 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.511, allocations: 4 kB / 0.679 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.000348/0.5114, allocations: 185.7 kB / 0.6792 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.5114, allocations: 79.27 kB / 0.6793 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.5115, allocations: 114.8 kB / 0.6794 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.5116, allocations: 30.73 kB / 0.6794 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.5116, allocations: 90.09 kB / 0.6795 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.5116, allocations: 22.92 kB / 0.6795 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.5117, allocations: 22.02 kB / 0.6795 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.118e-05/0.5118, allocations: 323.9 kB / 0.6798 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.5119, allocations: 44.84 kB / 0.6799 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.947e-05/0.5119, allocations: 36.97 kB / 0.6799 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.5121, allocations: 138.8 kB / 0.6801 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5121, allocations: 0 / 0.6801 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001883/0.5123, allocations: 154.8 kB / 0.6802 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.5123, allocations: 33.48 kB / 0.6802 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5123, allocations: 0 / 0.6802 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5123, allocations: 0.9062 kB / 0.6802 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.5123, allocations: 4.062 kB / 0.6802 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.5124, allocations: 5.141 kB / 0.6802 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.5125, allocations: 9.312 kB / 0.6803 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.5125, allocations: 4.719 kB / 0.6803 GB, free: 12.96 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000115/0.5126, allocations: 149 kB / 0.6804 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.5126, allocations: 12.45 kB / 0.6804 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.5e-05/0.5127, allocations: 9.641 kB / 0.6804 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5127, allocations: 0 / 0.6804 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5127, allocations: 1.438 kB / 0.6804 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5127, allocations: 4 kB / 0.6804 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.5128, allocations: 169.6 kB / 0.6806 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5128, allocations: 1.344 kB / 0.6806 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-06/0.5128, allocations: 3.938 kB / 0.6806 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.5128, allocations: 0 / 0.6806 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.5129, allocations: 7.266 kB / 0.6806 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.5129, allocations: 1.156 kB / 0.6806 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.5129, allocations: 0 / 0.6806 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.5131, allocations: 203.6 kB / 0.6808 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.5132, allocations: 86.44 kB / 0.6809 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.5132, allocations: 2.938 kB / 0.6809 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-05/0.5133, allocations: 9.766 kB / 0.6809 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.5133, allocations: 1.438 kB / 0.6809 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.5133, allocations: 4.469 kB / 0.6809 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.336e-05/0.5134, allocations: 99.88 kB / 0.681 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5134, allocations: 0 / 0.681 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003391/0.5137, allocations: 78.2 kB / 0.6811 GB, free: 12.22 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008132/0.5146, allocations: 0.7848 MB / 0.6818 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.5148, allocations: 201.2 kB / 0.682 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5148, allocations: 0 / 0.682 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.515, allocations: 156 kB / 0.6822 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.5151, allocations: 6.531 kB / 0.6822 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.5156, allocations: 226.5 kB / 0.6824 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.5158, allocations: 0.6868 MB / 0.6831 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.37e-06/0.5158, allocations: 0 / 0.6831 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.5159, allocations: 12.72 kB / 0.6831 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.5159, allocations: 0 / 0.6831 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.535, allocations: 3.15 MB / 0.6862 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.385/7.92, allocations: 5.391 kB / 0.6862 GB, free: 8.77 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)