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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.004682/0.004682, allocations: 97.23 kB / 15.73 MB, free: 6.484 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.001245/0.001245, allocations: 192 kB / 16.67 MB, free: 6.391 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.051/1.051, allocations: 143.3 MB / 433.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 59.89 kB / 0.5953 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3831, allocations: 82.04 MB / 0.6754 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.00603/0.3891, allocations: 4.427 MB / 0.6798 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003209/0.3924, allocations: 2.709 MB / 0.6824 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.3925, allocations: 1.062 kB / 0.6824 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.3927, allocations: 47.03 kB / 0.6825 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.3931, allocations: 94.47 kB / 0.6825 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.3942, allocations: 499.1 kB / 0.683 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.3945, allocations: 237.4 kB / 0.6833 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.3946, allocations: 13.48 kB / 0.6833 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009771/0.3956, allocations: 416.8 kB / 0.6837 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.3957, allocations: 92.12 kB / 0.6838 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.3958, allocations: 8.25 kB / 0.6838 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.3968, allocations: 493.9 kB / 0.6842 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.016e-05/0.3969, allocations: 33.52 kB / 0.6843 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.561e-05/0.3969, allocations: 77.97 kB / 0.6843 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006047/0.3976, allocations: 361.8 kB / 0.6847 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3976, allocations: 5.219 kB / 0.6847 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.667e-06/0.3976, allocations: 0 / 0.6847 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3976, allocations: 3.938 kB / 0.6847 GB, free: 9.84 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.0007839/0.3984, allocations: 0.5005 MB / 0.6852 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3984, allocations: 8.562 kB / 0.6852 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.301e-05/0.3985, allocations: 49.48 kB / 0.6852 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.3987, allocations: 21.72 kB / 0.6853 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.3989, allocations: 216.5 kB / 0.6855 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.399, allocations: 11.64 kB / 0.6855 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.399, allocations: 17.62 kB / 0.6855 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.3994, allocations: 253.4 kB / 0.6857 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3994, allocations: 1.281 kB / 0.6857 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.3995, allocations: 6.438 kB / 0.6857 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/0.3995, allocations: 13.83 kB / 0.6858 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005193/0.4, allocations: 436.9 kB / 0.6862 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.4012, allocations: 1.012 MB / 0.6872 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.4015, allocations: 157.2 kB / 0.6873 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.4016, allocations: 63.16 kB / 0.6874 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/0.4033, allocations: 1.823 MB / 0.6891 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.4033, allocations: 49.16 kB / 0.6892 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.4033, allocations: 0 / 0.6892 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003543/0.4037, allocations: 145.1 kB / 0.6893 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.4037, allocations: 54.16 kB / 0.6894 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.4039, allocations: 177.4 kB / 0.6896 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.404, allocations: 30.95 kB / 0.6896 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.4041, allocations: 135.7 kB / 0.6897 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.4041, allocations: 55.12 kB / 0.6898 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/0.4042, allocations: 60.27 kB / 0.6898 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4044, allocations: 330.5 kB / 0.6901 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.147e-05/0.4044, allocations: 37.8 kB / 0.6902 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.4046, allocations: 138.5 kB / 0.6903 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.4049, allocations: 202.7 kB / 0.6905 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4049, allocations: 0 / 0.6905 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003362/0.4052, allocations: 220.8 kB / 0.6907 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4052, allocations: 6.25 kB / 0.6907 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4053, allocations: 3.656 kB / 0.6907 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.4053, allocations: 9.406 kB / 0.6907 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.4055, allocations: 56.44 kB / 0.6908 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.4055, allocations: 5.375 kB / 0.6908 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.4056, allocations: 24.66 kB / 0.6908 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.4056, allocations: 10.59 kB / 0.6908 GB, free: 4.016 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 0.000119/0.4058, allocations: 142 kB / 0.691 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.4058, allocations: 20.34 kB / 0.691 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.4061, allocations: 153.8 kB / 0.6911 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.4062, allocations: 6.281 kB / 0.6911 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4062, allocations: 0 / 0.6911 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.4062, allocations: 0 / 0.6911 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.4065, allocations: 230 kB / 0.6913 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4065, allocations: 0 / 0.6913 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.677e-05/0.4066, allocations: 23.38 kB / 0.6914 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.4066, allocations: 5.672 kB / 0.6914 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.4066, allocations: 5.719 kB / 0.6914 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.4066, allocations: 7.938 kB / 0.6914 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4066, allocations: 0 / 0.6914 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.4069, allocations: 215.3 kB / 0.6916 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.407, allocations: 113.9 kB / 0.6917 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.407, allocations: 5.047 kB / 0.6917 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.4072, allocations: 19.64 kB / 0.6917 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.4073, allocations: 9.859 kB / 0.6917 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.4073, allocations: 14.41 kB / 0.6917 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.967e-05/0.4074, allocations: 118.1 kB / 0.6919 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4074, allocations: 0 / 0.6919 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000402/0.4078, allocations: 78.45 kB / 0.6919 GB, free: 3.066 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.0007752/0.4086, allocations: 0.831 MB / 0.6927 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.4088, allocations: 117.3 kB / 0.6929 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4089, allocations: 0.9375 kB / 0.6929 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/0.4089, allocations: 49.05 kB / 0.6929 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.4094, allocations: 55.16 kB / 0.693 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.4117, allocations: 2.043 MB / 0.695 GB, free: 452 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.4121, allocations: 0.7101 MB / 0.6956 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.4123, allocations: 57.3 kB / 0.6957 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.498e-05/0.4124, allocations: 45.98 kB / 0.6957 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.4124, allocations: 0 / 0.6957 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.4394, allocations: 5.298 MB / 0.7009 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/8.152, allocations: 0 / 0.7009 GB, free: 11.18 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)