Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.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.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater",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.001614/0.001614, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.032/1.032, allocations: 143 MB / 433.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001337, allocations: 67.91 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1562, allocations: 82.03 MB / 0.5944 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002873/0.1591, allocations: 1.391 MB / 0.5957 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003901/0.1631, allocations: 2.902 MB / 0.5986 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.1631, allocations: 4 kB / 0.5986 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.243e-05/0.1632, allocations: 7.922 kB / 0.5986 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.1634, allocations: 43.81 kB / 0.5986 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006428/0.164, allocations: 183.1 kB / 0.5988 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.1643, allocations: 243.5 kB / 0.599 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.1644, allocations: 4 kB / 0.599 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1645, allocations: 91.86 kB / 0.5991 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.1647, allocations: 123.7 kB / 0.5992 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.1647, allocations: 8 kB / 0.5993 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004447/0.1652, allocations: 155.8 kB / 0.5994 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1653, allocations: 83.77 kB / 0.5995 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.1654, allocations: 95.62 kB / 0.5996 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.1659, allocations: 267.5 kB / 0.5998 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1659, allocations: 0 / 0.5998 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1659, allocations: 0 / 0.5998 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.1659, allocations: 4 kB / 0.5998 GB, free: 3.914 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008666/0.1668, allocations: 0.526 MB / 0.6003 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1668, allocations: 15.97 kB / 0.6004 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.189e-05/0.1669, allocations: 46.73 kB / 0.6004 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.167, allocations: 16.75 kB / 0.6004 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1673, allocations: 248 kB / 0.6007 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/0.1673, allocations: 24.36 kB / 0.6007 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.1673, allocations: 12.38 kB / 0.6007 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/0.168, allocations: 293.2 kB / 0.601 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.168, allocations: 0 / 0.601 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.1681, allocations: 12 kB / 0.601 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.1681, allocations: 4 kB / 0.601 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.1696, allocations: 0.7488 MB / 0.6017 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.17, allocations: 301.3 kB / 0.602 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.1717, allocations: 0.6728 MB / 0.6027 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/0.1722, allocations: 233.3 kB / 0.6029 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000428/0.1727, allocations: 388.3 kB / 0.6033 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.1727, allocations: 47.44 kB / 0.6033 GB, free: 116 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.1727, allocations: 3.938 kB / 0.6033 GB, free: 112 kB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.2524/0.4252, allocations: 0.6469 MB / 0.6039 GB, free: 44.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.4252, allocations: 54.34 kB / 0.604 GB, free: 44.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.693e-05/0.4253, allocations: 131.7 kB / 0.6041 GB, free: 44.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.4254, allocations: 33.08 kB / 0.6041 GB, free: 44.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.4254, allocations: 90.83 kB / 0.6042 GB, free: 44.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.898e-05/0.4255, allocations: 123 kB / 0.6044 GB, free: 44.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.211e-05/0.4256, allocations: 73.58 kB / 0.6044 GB, free: 44.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.738e-05/0.4256, allocations: 324.2 kB / 0.6047 GB, free: 44.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.4261, allocations: 198 kB / 0.6049 GB, free: 44.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.4265, allocations: 197.2 kB / 0.6051 GB, free: 44.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008047/0.4273, allocations: 365.3 kB / 0.6055 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4273, allocations: 0 / 0.6055 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009566/0.4283, allocations: 463.5 kB / 0.6059 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4283, allocations: 6.438 kB / 0.6059 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4283, allocations: 7.219 kB / 0.6059 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4283, allocations: 2.562 kB / 0.6059 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.4287, allocations: 95.06 kB / 0.606 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4287, allocations: 2.844 kB / 0.606 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.4289, allocations: 49.25 kB / 0.6061 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.4289, allocations: 14.22 kB / 0.6061 GB, free: 44.18 MB / 0.4981 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 (37): * Single equations (assignments): 37 * 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 9.258e-05/0.429, allocations: 144.5 kB / 0.6062 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.4291, allocations: 19.16 kB / 0.6062 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.4301, allocations: 0.5167 MB / 0.6067 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4301, allocations: 2.906 kB / 0.6067 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4302, allocations: 2.875 kB / 0.6067 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4302, allocations: 3.328 kB / 0.6067 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.4304, allocations: 318.8 kB / 0.607 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4304, allocations: 0 / 0.607 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003224/0.4307, allocations: 101 kB / 0.6071 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4308, allocations: 0 / 0.6071 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.4308, allocations: 13.73 kB / 0.6072 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4308, allocations: 0 / 0.6072 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4308, allocations: 2.312 kB / 0.6072 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009914/0.4318, allocations: 0.4984 MB / 0.6076 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.4318, allocations: 94.48 kB / 0.6077 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.4319, allocations: 5.688 kB / 0.6077 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.4321, allocations: 40.22 kB / 0.6078 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/0.4323, allocations: 115.6 kB / 0.6079 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.4323, allocations: 15.36 kB / 0.6079 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.4324, allocations: 105 kB / 0.608 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4324, allocations: 1.875 kB / 0.608 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003688/0.4327, allocations: 115.7 kB / 0.6081 GB, free: 43.53 MB / 0.4981 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 (37): * Single equations (assignments): 37 * 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.001386/0.4341, allocations: 1.121 MB / 0.6092 GB, free: 42.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.4352, allocations: 0.5599 MB / 0.6098 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4352, allocations: 0 / 0.6098 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.4357, allocations: 264.9 kB / 0.61 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.4361, allocations: 73.7 kB / 0.6101 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.4396, allocations: 2.653 MB / 0.6127 GB, free: 41.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.4397, allocations: 0.7345 MB / 0.6134 GB, free: 41.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003923/0.4401, allocations: 183.7 kB / 0.6136 GB, free: 41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.4402, allocations: 62.47 kB / 0.6136 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of SimCode: time 4.2e-07/0.4402, allocations: 0 / 0.6136 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.4615, allocations: 7.477 MB / 0.6209 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/8.139, allocations: 4.359 kB / 0.6209 GB, free: 40.31 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater_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_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)