Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",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.005901/0.005901, 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.001414/0.001414, allocations: 201.7 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.9634/0.9634, allocations: 143 MB / 433.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001337, allocations: 67.89 kB / 0.5951 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.398, allocations: 82.03 MB / 0.6752 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.005338/0.4034, allocations: 4.423 MB / 0.6795 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002648/0.4061, allocations: 2.697 MB / 0.6822 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.229e-05/0.4061, allocations: 1.125 kB / 0.6822 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.4064, allocations: 56.77 kB / 0.6822 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.4066, allocations: 91.64 kB / 0.6823 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.4077, allocations: 0.5063 MB / 0.6828 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000247/0.4079, allocations: 233.7 kB / 0.683 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.408, allocations: 13.03 kB / 0.683 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008767/0.4088, allocations: 416.2 kB / 0.6834 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.409, allocations: 89.81 kB / 0.6835 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.409, allocations: 7.25 kB / 0.6835 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008797/0.4099, allocations: 497.1 kB / 0.684 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.41, allocations: 33.52 kB / 0.684 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.388e-05/0.4101, allocations: 84.03 kB / 0.6841 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005354/0.4106, allocations: 361.7 kB / 0.6845 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4106, allocations: 0 / 0.6845 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.855e-06/0.4106, allocations: 0 / 0.6845 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.4106, allocations: 3.938 kB / 0.6845 GB, free: 9.961 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006592/0.4113, allocations: 0.4999 MB / 0.6849 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.4113, allocations: 9.75 kB / 0.685 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.119e-05/0.4114, allocations: 53.45 kB / 0.685 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.4115, allocations: 21.31 kB / 0.685 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.4118, allocations: 212.8 kB / 0.6852 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.4118, allocations: 11.45 kB / 0.6852 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.4118, allocations: 14.41 kB / 0.6853 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.4122, allocations: 257.8 kB / 0.6855 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4122, allocations: 0 / 0.6855 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.4122, allocations: 10.88 kB / 0.6855 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.4122, allocations: 9.312 kB / 0.6855 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.4127, allocations: 429.1 kB / 0.6859 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009759/0.4137, allocations: 1.02 MB / 0.6869 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.414, allocations: 160.2 kB / 0.6871 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.161e-05/0.4141, allocations: 58.98 kB / 0.6871 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/0.4152, allocations: 1.823 MB / 0.6889 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.4153, allocations: 44.84 kB / 0.689 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.4153, allocations: 7.938 kB / 0.689 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.000302/0.4156, allocations: 146.1 kB / 0.6891 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.4156, allocations: 57.23 kB / 0.6892 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.4158, allocations: 167.1 kB / 0.6893 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.4158, allocations: 31.98 kB / 0.6893 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/0.4159, allocations: 144.2 kB / 0.6895 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.4159, allocations: 53.33 kB / 0.6895 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.416, allocations: 58.12 kB / 0.6896 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.4161, allocations: 325.7 kB / 0.6899 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.4162, allocations: 41.84 kB / 0.6899 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.4163, allocations: 138 kB / 0.6901 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.4165, allocations: 201.7 kB / 0.6903 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4165, allocations: 1.406 kB / 0.6903 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003223/0.4168, allocations: 220.1 kB / 0.6905 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4169, allocations: 7.5 kB / 0.6905 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4169, allocations: 3.75 kB / 0.6905 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.4169, allocations: 13.06 kB / 0.6905 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.4171, allocations: 48.61 kB / 0.6905 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.4171, allocations: 8.578 kB / 0.6906 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.4172, allocations: 24.59 kB / 0.6906 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.4172, allocations: 14.41 kB / 0.6906 GB, free: 4.133 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.535e-05/0.4173, allocations: 136.8 kB / 0.6907 GB, free: 4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.4174, allocations: 19.67 kB / 0.6907 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.4177, allocations: 152.5 kB / 0.6909 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.4177, allocations: 10.38 kB / 0.6909 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.4177, allocations: 5.422 kB / 0.6909 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4177, allocations: 0 / 0.6909 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.418, allocations: 217.7 kB / 0.6911 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.418, allocations: 0 / 0.6911 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-05/0.4181, allocations: 26.92 kB / 0.6911 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4181, allocations: 1.438 kB / 0.6911 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.4181, allocations: 1.438 kB / 0.6911 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.4181, allocations: 5.375 kB / 0.6911 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4181, allocations: 3.938 kB / 0.6911 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.4183, allocations: 222.7 kB / 0.6914 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.191e-05/0.4184, allocations: 117.9 kB / 0.6915 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.4185, allocations: 5.375 kB / 0.6915 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.4187, allocations: 19.89 kB / 0.6915 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.4187, allocations: 12.27 kB / 0.6915 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.4187, allocations: 10.77 kB / 0.6915 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.569e-05/0.4188, allocations: 122.8 kB / 0.6916 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4188, allocations: 4 kB / 0.6916 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003706/0.4192, allocations: 74 kB / 0.6917 GB, free: 3.184 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0006952/0.4199, allocations: 0.8391 MB / 0.6925 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.4201, allocations: 113.2 kB / 0.6926 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4202, allocations: 0 / 0.6926 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.233e-05/0.4202, allocations: 50.89 kB / 0.6927 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.4207, allocations: 59.09 kB / 0.6927 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.4227, allocations: 2.035 MB / 0.6947 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.423, allocations: 0.7114 MB / 0.6954 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000145/0.4231, allocations: 57.45 kB / 0.6955 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.658e-05/0.4232, allocations: 45.36 kB / 0.6955 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.4232, allocations: 3.938 kB / 0.6955 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.4456, allocations: 5.286 MB / 0.7007 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.152/7.598, allocations: 8.062 kB / 0.7007 GB, free: 11.39 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties_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_Examples_PropyleneGlycolWaterProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)