Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",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.008401/0.008401, allocations: 96.7 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.001674/0.001674, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.002/1.002, allocations: 143 MB / 433.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 67.89 kB / 0.5951 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4966/0.4985, allocations: 82.02 MB / 0.6752 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001591/0.5002, allocations: 0.6088 MB / 0.6758 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.5019, allocations: 1.394 MB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.502, allocations: 0 / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.878e-05/0.502, allocations: 0.9375 kB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.469e-05/0.5021, allocations: 5.031 kB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007174/0.5028, allocations: 178.1 kB / 0.6773 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.5029, allocations: 41.62 kB / 0.6774 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.503, allocations: 10.19 kB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.97e-05/0.503, allocations: 21.33 kB / 0.6774 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.5031, allocations: 32.7 kB / 0.6774 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.5031, allocations: 3.594 kB / 0.6774 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.5035, allocations: 199.2 kB / 0.6776 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.5035, allocations: 6.75 kB / 0.6776 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.5036, allocations: 29.8 kB / 0.6777 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.5039, allocations: 189.3 kB / 0.6779 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5039, allocations: 0 / 0.6779 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5039, allocations: 1.094 kB / 0.6779 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.5039, allocations: 0 / 0.6779 GB, free: 15.12 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004899/0.5044, allocations: 450.1 kB / 0.6783 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.5045, allocations: 10.34 kB / 0.6783 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.5045, allocations: 31.91 kB / 0.6783 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.5046, allocations: 3.75 kB / 0.6783 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.5047, allocations: 177.4 kB / 0.6785 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.5047, allocations: 9.5 kB / 0.6785 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.5047, allocations: 2.594 kB / 0.6785 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.5049, allocations: 97.86 kB / 0.6786 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5049, allocations: 3.984 kB / 0.6786 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.505, allocations: 1.188 kB / 0.6786 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.505, allocations: 3.938 kB / 0.6786 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.699e-05/0.5051, allocations: 61.11 kB / 0.6787 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.5052, allocations: 175.9 kB / 0.6788 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.5054, allocations: 88.62 kB / 0.6789 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.472e-05/0.5055, allocations: 67.05 kB / 0.679 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.5055, allocations: 0 / 0.679 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.5055, allocations: 35.53 kB / 0.679 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.5055, allocations: 0 / 0.679 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0004083/0.5059, allocations: 252 kB / 0.6793 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.506, allocations: 86.88 kB / 0.6793 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.5061, allocations: 145.9 kB / 0.6795 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.5061, allocations: 31.11 kB / 0.6795 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.5062, allocations: 91.72 kB / 0.6796 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.5062, allocations: 10 kB / 0.6796 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.5063, allocations: 33.17 kB / 0.6796 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.967e-05/0.5064, allocations: 318.5 kB / 0.6799 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.5065, allocations: 103.4 kB / 0.68 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.5066, allocations: 101.2 kB / 0.6801 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.5069, allocations: 286.2 kB / 0.6804 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5069, allocations: 0 / 0.6804 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003943/0.5073, allocations: 326.1 kB / 0.6807 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/0.5074, allocations: 67.83 kB / 0.6808 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.5074, allocations: 0 / 0.6808 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.5075, allocations: 5.172 kB / 0.6808 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.5075, allocations: 0 / 0.6808 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.5075, allocations: 1.062 kB / 0.6808 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.5076, allocations: 17.55 kB / 0.6808 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.5076, allocations: 7.438 kB / 0.6808 GB, free: 12.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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001088/0.5078, allocations: 150.6 kB / 0.681 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.5078, allocations: 11.2 kB / 0.681 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.624e-05/0.5078, allocations: 10.36 kB / 0.681 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.5078, allocations: 0 / 0.681 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5078, allocations: 5.125 kB / 0.681 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.5078, allocations: 0 / 0.681 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.5079, allocations: 172.6 kB / 0.6812 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.508, allocations: 5.031 kB / 0.6812 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.508, allocations: 0 / 0.6812 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.508, allocations: 1.156 kB / 0.6812 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.508, allocations: 6.125 kB / 0.6812 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.508, allocations: 0 / 0.6812 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.508, allocations: 0 / 0.6812 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.5083, allocations: 230.3 kB / 0.6814 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.5084, allocations: 90.25 kB / 0.6815 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.5084, allocations: 2.062 kB / 0.6815 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.036e-05/0.5084, allocations: 3.281 kB / 0.6815 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.5085, allocations: 15.83 kB / 0.6815 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.5085, allocations: 2.406 kB / 0.6815 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.183e-05/0.5086, allocations: 114.5 kB / 0.6816 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5086, allocations: 0 / 0.6816 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003222/0.5089, allocations: 64.56 kB / 0.6817 GB, free: 11.93 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: 1 (i) * Number of discrete states: 1 (i) * 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.0007481/0.5097, allocations: 0.8171 MB / 0.6825 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003933/0.5101, allocations: 374.8 kB / 0.6828 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.5101, allocations: 0 / 0.6828 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.5102, allocations: 134.3 kB / 0.6829 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.5104, allocations: 8.125 kB / 0.683 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.5128, allocations: 2.132 MB / 0.685 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.5131, allocations: 0.6901 MB / 0.6857 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.436e-06/0.5131, allocations: 0 / 0.6857 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.5132, allocations: 25.23 kB / 0.6857 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.5132, allocations: 0 / 0.6857 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.5386, allocations: 3.325 MB / 0.689 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/8.26, allocations: 8.062 kB / 0.689 GB, free: 6.934 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite_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_CubicHermite.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)