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.001045/0.001045, 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.001067/0.001066, allocations: 196.7 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.9671/0.9671, allocations: 143 MB / 433.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1505, allocations: 82.03 MB / 0.5944 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.005549/0.156, allocations: 4.424 MB / 0.5987 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002695/0.1588, allocations: 2.706 MB / 0.6013 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.447e-05/0.1588, allocations: 0 / 0.6013 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.1591, allocations: 47.67 kB / 0.6014 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.1594, allocations: 87.38 kB / 0.6015 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.1604, allocations: 497.2 kB / 0.6019 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.1607, allocations: 235.9 kB / 0.6022 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.1607, allocations: 9.562 kB / 0.6022 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008165/0.1615, allocations: 418.8 kB / 0.6026 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1616, allocations: 91.59 kB / 0.6027 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.1617, allocations: 8 kB / 0.6027 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008078/0.1625, allocations: 499.4 kB / 0.6031 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.794e-05/0.1626, allocations: 35.84 kB / 0.6032 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.1627, allocations: 75.66 kB / 0.6032 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005043/0.1632, allocations: 359 kB / 0.6036 GB, free: 40 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1632, allocations: 4 kB / 0.6036 GB, free: 36 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1632, allocations: 4 kB / 0.6036 GB, free: 32 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.1632, allocations: 0 / 0.6036 GB, free: 32 kB / 0.4981 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.2507/0.4139, allocations: 499.7 kB / 0.6041 GB, free: 44.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.414, allocations: 10.38 kB / 0.6041 GB, free: 44.58 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.414, allocations: 51.59 kB / 0.6041 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.4142, allocations: 24.62 kB / 0.6042 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.4144, allocations: 202.2 kB / 0.6043 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.4144, allocations: 13.94 kB / 0.6044 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.4144, allocations: 19.81 kB / 0.6044 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.4148, allocations: 249.3 kB / 0.6046 GB, free: 44.26 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4148, allocations: 5.812 kB / 0.6046 GB, free: 44.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.4148, allocations: 9.969 kB / 0.6046 GB, free: 44.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/0.4148, allocations: 6.625 kB / 0.6046 GB, free: 44.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003819/0.4152, allocations: 431.9 kB / 0.6051 GB, free: 44.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007947/0.416, allocations: 1.008 MB / 0.606 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.4163, allocations: 159 kB / 0.6062 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.228e-05/0.4164, allocations: 63.48 kB / 0.6062 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008672/0.4172, allocations: 1.828 MB / 0.608 GB, free: 41.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.4173, allocations: 40.88 kB / 0.6081 GB, free: 41.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.4173, allocations: 0 / 0.6081 GB, free: 41.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002938/0.4176, allocations: 143.8 kB / 0.6082 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.4176, allocations: 54.91 kB / 0.6083 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.4177, allocations: 180.8 kB / 0.6084 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.4177, allocations: 30.64 kB / 0.6085 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.4178, allocations: 140.6 kB / 0.6086 GB, free: 41.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.4178, allocations: 52.23 kB / 0.6086 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.4179, allocations: 48.08 kB / 0.6087 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.4e-05/0.4179, allocations: 327.3 kB / 0.609 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.026e-05/0.418, allocations: 38.62 kB / 0.609 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-05/0.4181, allocations: 147.4 kB / 0.6092 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.4183, allocations: 193.8 kB / 0.6094 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4183, allocations: 0 / 0.6094 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002685/0.4185, allocations: 220.1 kB / 0.6096 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.4186, allocations: 8.312 kB / 0.6096 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4186, allocations: 2.719 kB / 0.6096 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4186, allocations: 8.844 kB / 0.6096 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.4188, allocations: 51.92 kB / 0.6096 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.4188, allocations: 16.44 kB / 0.6097 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.4189, allocations: 27.89 kB / 0.6097 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.4189, allocations: 9.375 kB / 0.6097 GB, free: 40.34 MB / 0.4981 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 7.344e-05/0.419, allocations: 133.9 kB / 0.6098 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.419, allocations: 17.94 kB / 0.6098 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.4193, allocations: 157.8 kB / 0.61 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.4193, allocations: 14.17 kB / 0.61 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4193, allocations: 3.938 kB / 0.61 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.4194, allocations: 0 / 0.61 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.4195, allocations: 214.7 kB / 0.6102 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4195, allocations: 0 / 0.6102 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.531e-05/0.4196, allocations: 31.94 kB / 0.6102 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4196, allocations: 0 / 0.6102 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.4197, allocations: 3.5 kB / 0.6102 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4197, allocations: 0 / 0.6102 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.4197, allocations: 7.266 kB / 0.6103 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.4199, allocations: 219.3 kB / 0.6105 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.4199, allocations: 114.4 kB / 0.6106 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.42, allocations: 2.781 kB / 0.6106 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.4202, allocations: 16.66 kB / 0.6106 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.4202, allocations: 14.55 kB / 0.6106 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.4202, allocations: 9.406 kB / 0.6106 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.508e-05/0.4203, allocations: 128.7 kB / 0.6107 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4203, allocations: 0 / 0.6107 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000373/0.4207, allocations: 71.31 kB / 0.6108 GB, free: 39.65 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 (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.0005677/0.4213, allocations: 0.8357 MB / 0.6116 GB, free: 38.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.4215, allocations: 122.6 kB / 0.6117 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4215, allocations: 2.969 kB / 0.6117 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.296e-05/0.4216, allocations: 43.39 kB / 0.6118 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.422, allocations: 60.52 kB / 0.6118 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.4238, allocations: 2.035 MB / 0.6138 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.4239, allocations: 0.7143 MB / 0.6145 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.4241, allocations: 46.47 kB / 0.6146 GB, free: 36.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.4242, allocations: 51.91 kB / 0.6146 GB, free: 36.79 MB / 0.4981 GB Notification: Performance of SimCode: time 1.182e-06/0.4242, allocations: 1.312 kB / 0.6146 GB, free: 36.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.4446, allocations: 5.23 MB / 0.6197 GB, free: 36.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.565/8.009, allocations: 6.531 kB / 0.6197 GB, free: 36.13 MB / 0.4981 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)