Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.001092/0.001092, allocations: 108 kB / 15.6 MB, free: 132 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.001149/0.001149, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.9831/0.9831, allocations: 143 MB / 433.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 55.91 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1498, allocations: 82.05 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005099/0.1549, allocations: 4.044 MB / 0.5983 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002725/0.1576, allocations: 2.418 MB / 0.6007 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.556e-05/0.1578, allocations: 4 kB / 0.6007 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.1581, allocations: 55.66 kB / 0.6008 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.1584, allocations: 103.3 kB / 0.6009 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1597, allocations: 0.5166 MB / 0.6014 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.16, allocations: 255.9 kB / 0.6016 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.1601, allocations: 17.55 kB / 0.6016 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.1603, allocations: 115.5 kB / 0.6017 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1605, allocations: 91.66 kB / 0.6018 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.1605, allocations: 8 kB / 0.6018 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008217/0.1613, allocations: 455.2 kB / 0.6023 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.986e-05/0.1614, allocations: 43.83 kB / 0.6023 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.578e-05/0.1615, allocations: 83.64 kB / 0.6024 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007008/0.1622, allocations: 411.3 kB / 0.6028 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1622, allocations: 0 / 0.6028 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1623, allocations: 7.938 kB / 0.6028 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.1623, allocations: 0 / 0.6028 GB, free: 0.8789 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008309/0.1631, allocations: 0.4992 MB / 0.6033 GB, free: 340 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1631, allocations: 12.56 kB / 0.6033 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.045e-05/0.1632, allocations: 54.73 kB / 0.6033 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/0.1652, allocations: 188.5 kB / 0.6035 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2295/0.3948, allocations: 198 kB / 0.6037 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.3948, allocations: 12.48 kB / 0.6037 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.3949, allocations: 15.59 kB / 0.6037 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006286/0.3955, allocations: 302.8 kB / 0.604 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3955, allocations: 2.156 kB / 0.604 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.3956, allocations: 11.19 kB / 0.604 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.3956, allocations: 4.562 kB / 0.604 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/0.3963, allocations: 267.9 kB / 0.6043 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.3976, allocations: 1.391 MB / 0.6057 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006154/0.3982, allocations: 191.9 kB / 0.6058 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.3985, allocations: 78.59 kB / 0.6059 GB, free: 42.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.3985, allocations: 11.3 kB / 0.6059 GB, free: 42.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.3985, allocations: 37.58 kB / 0.606 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.044e-06/0.3985, allocations: 0 / 0.606 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0007429/0.3993, allocations: 247.8 kB / 0.6062 GB, free: 42.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3993, allocations: 54.22 kB / 0.6062 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.3994, allocations: 156.4 kB / 0.6064 GB, free: 42.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3995, allocations: 34.42 kB / 0.6064 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.3995, allocations: 129.2 kB / 0.6066 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.3996, allocations: 60.48 kB / 0.6066 GB, free: 42.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.13e-05/0.3997, allocations: 54.2 kB / 0.6067 GB, free: 42.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.834e-05/0.3997, allocations: 320.5 kB / 0.607 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.3999, allocations: 64.75 kB / 0.607 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.4001, allocations: 141.7 kB / 0.6072 GB, free: 41.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.4006, allocations: 218.6 kB / 0.6074 GB, free: 41.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4006, allocations: 2.812 kB / 0.6074 GB, free: 41.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000548/0.4011, allocations: 251 kB / 0.6076 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4012, allocations: 13.64 kB / 0.6076 GB, free: 41.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4012, allocations: 4.938 kB / 0.6076 GB, free: 41.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.4012, allocations: 6.875 kB / 0.6076 GB, free: 41.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.4016, allocations: 62.44 kB / 0.6077 GB, free: 41.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.4016, allocations: 11.8 kB / 0.6077 GB, free: 41.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.4018, allocations: 34.02 kB / 0.6077 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.4018, allocations: 10.75 kB / 0.6078 GB, free: 41.54 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.738e-05/0.4019, allocations: 127.3 kB / 0.6079 GB, free: 41.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/0.402, allocations: 28.59 kB / 0.6079 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000591/0.4026, allocations: 221.9 kB / 0.6081 GB, free: 41.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.4026, allocations: 2.656 kB / 0.6081 GB, free: 41.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4026, allocations: 0 / 0.6081 GB, free: 41.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4026, allocations: 3.078 kB / 0.6081 GB, free: 41.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.4029, allocations: 243.3 kB / 0.6084 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4029, allocations: 2.719 kB / 0.6084 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.4032, allocations: 47.64 kB / 0.6084 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4032, allocations: 6.812 kB / 0.6084 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.4032, allocations: 4.875 kB / 0.6084 GB, free: 41.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4032, allocations: 2.812 kB / 0.6084 GB, free: 41.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.4032, allocations: 0.5 kB / 0.6084 GB, free: 41.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004853/0.4037, allocations: 295.8 kB / 0.6087 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.4038, allocations: 107.9 kB / 0.6088 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.4038, allocations: 9.984 kB / 0.6088 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.4041, allocations: 21.17 kB / 0.6088 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.4041, allocations: 16.55 kB / 0.6088 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.4041, allocations: 9.156 kB / 0.6089 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.839e-05/0.4042, allocations: 116.1 kB / 0.609 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4042, allocations: 0 / 0.609 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003548/0.4046, allocations: 61.75 kB / 0.609 GB, free: 40.85 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 (20): * Single equations (assignments): 20 * 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.0007589/0.4053, allocations: 0.8698 MB / 0.6099 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005073/0.4059, allocations: 188.7 kB / 0.6101 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4059, allocations: 1.188 kB / 0.6101 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.4061, allocations: 93.11 kB / 0.6101 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/0.4066, allocations: 53.38 kB / 0.6102 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.4092, allocations: 2.155 MB / 0.6123 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.4094, allocations: 0.7173 MB / 0.613 GB, free: 38.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005019/0.4099, allocations: 51.42 kB / 0.613 GB, free: 38.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.41, allocations: 49.94 kB / 0.6131 GB, free: 38.02 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.41, allocations: 0 / 0.6131 GB, free: 38.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.4316, allocations: 5.192 MB / 0.6182 GB, free: 37.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/7.976, allocations: 5.047 kB / 0.6182 GB, free: 37.53 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_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_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)