Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.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.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties",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.004621/0.004621, allocations: 96.7 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.001124/0.001124, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.9277/0.9277, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 0.5951 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3561, allocations: 82.02 MB / 0.6752 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.1383/0.4944, allocations: 136.2 MB / 0.8081 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02485/0.5193, allocations: 22.33 MB / 0.8299 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.5195, allocations: 4 kB / 0.8299 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.5198, allocations: 43.67 kB / 0.83 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.5201, allocations: 95.36 kB / 0.8301 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01576/0.5359, allocations: 6.689 MB / 0.8366 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003831/0.5363, allocations: 255.8 kB / 0.8369 GB, free: 292 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.45e-05/0.5363, allocations: 13.56 kB / 0.8369 GB, free: 280 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003467/0.5367, allocations: 139.4 kB / 0.837 GB, free: 140 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.5368, allocations: 87.66 kB / 0.8371 GB, free: 52 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.5369, allocations: 12 kB / 0.8371 GB, free: 40 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01989/0.5568, allocations: 10.96 MB / 0.8478 GB, free: 5.062 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.5569, allocations: 39.89 kB / 0.8478 GB, free: 5.023 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.557, allocations: 83.64 kB / 0.8479 GB, free: 4.941 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.57, allocations: 6.174 MB / 0.8539 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.57, allocations: 0 / 0.8539 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.424e-06/0.5701, allocations: 7.984 kB / 0.854 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.5701, allocations: 0 / 0.854 GB, free: 14.75 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003171/0.5732, allocations: 1.219 MB / 0.8551 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.5733, allocations: 8.031 kB / 0.8552 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.156e-05/0.5734, allocations: 54.73 kB / 0.8552 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.5745, allocations: 84.77 kB / 0.8553 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.5749, allocations: 244 kB / 0.8555 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.5749, allocations: 11.94 kB / 0.8555 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.575, allocations: 16 kB / 0.8555 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.5761, allocations: 453.1 kB / 0.856 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.5762, allocations: 0 / 0.856 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.5762, allocations: 19.94 kB / 0.856 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.5762, allocations: 4 kB / 0.856 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.5774, allocations: 0.5976 MB / 0.8566 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.5786, allocations: 0.8783 MB / 0.8574 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000832/0.5794, allocations: 255.6 kB / 0.8577 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.5795, allocations: 72.83 kB / 0.8578 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3758/0.9553, allocations: 35.42 MB / 0.8924 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.9554, allocations: 36.03 kB / 0.8924 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.9554, allocations: 3.062 kB / 0.8924 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25): time 0.001615/0.957, allocations: 420.6 kB / 0.8928 GB, free: 166 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.957, allocations: 54.12 kB / 0.8928 GB, free: 166 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.9571, allocations: 151.3 kB / 0.893 GB, free: 165.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.9572, allocations: 26.92 kB / 0.893 GB, free: 165.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.9572, allocations: 113.7 kB / 0.8931 GB, free: 165.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.9573, allocations: 84.62 kB / 0.8932 GB, free: 165.7 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.9574, allocations: 80.66 kB / 0.8933 GB, free: 165.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.904e-05/0.9574, allocations: 325.5 kB / 0.8936 GB, free: 165.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.9576, allocations: 84.42 kB / 0.8937 GB, free: 165.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.9578, allocations: 125.9 kB / 0.8938 GB, free: 165.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.9582, allocations: 226.9 kB / 0.894 GB, free: 165 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9582, allocations: 0 / 0.894 GB, free: 165 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006373/0.9588, allocations: 300.7 kB / 0.8943 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.9588, allocations: 5.594 kB / 0.8943 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.9588, allocations: 1.406 kB / 0.8943 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.9589, allocations: 2.469 kB / 0.8943 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.9591, allocations: 89.41 kB / 0.8944 GB, free: 164.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.9592, allocations: 6.406 kB / 0.8944 GB, free: 164.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.9593, allocations: 20.11 kB / 0.8944 GB, free: 164.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.9594, allocations: 21.67 kB / 0.8944 GB, free: 164.8 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * 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.764e-05/0.9595, allocations: 128.5 kB / 0.8946 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.9596, allocations: 21.5 kB / 0.8946 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.9613, allocations: 2.341 MB / 0.8969 GB, free: 163.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.9614, allocations: 11.94 kB / 0.8969 GB, free: 163.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9614, allocations: 7.938 kB / 0.8969 GB, free: 163.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.9614, allocations: 0 / 0.8969 GB, free: 163.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.9635, allocations: 3.436 MB / 0.9002 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.9635, allocations: 3.844 kB / 0.9002 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.9638, allocations: 58.47 kB / 0.9003 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.9638, allocations: 0 / 0.9003 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.9638, allocations: 7.906 kB / 0.9003 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.9638, allocations: 0 / 0.9003 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.9638, allocations: 0 / 0.9003 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/0.9644, allocations: 0.556 MB / 0.9008 GB, free: 160.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.9645, allocations: 143.6 kB / 0.901 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.9645, allocations: 7.984 kB / 0.901 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.9648, allocations: 13.12 kB / 0.901 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.9648, allocations: 19.78 kB / 0.901 GB, free: 160.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.9648, allocations: 7.906 kB / 0.901 GB, free: 160.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.534e-05/0.9649, allocations: 108.8 kB / 0.9011 GB, free: 160.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9649, allocations: 4 kB / 0.9011 GB, free: 160.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003171/0.9681, allocations: 1.644 MB / 0.9027 GB, free: 160.3 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.006225/0.9743, allocations: 2.9 MB / 0.9056 GB, free: 157.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004862/0.9748, allocations: 325 kB / 0.9059 GB, free: 157.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9748, allocations: 0 / 0.9059 GB, free: 157.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.975, allocations: 241.5 kB / 0.9061 GB, free: 157 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.9755, allocations: 73.42 kB / 0.9062 GB, free: 156.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.9791, allocations: 3.083 MB / 0.9092 GB, free: 153.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.9792, allocations: 0.7661 MB / 0.9099 GB, free: 152.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003912/0.9796, allocations: 419 kB / 0.9103 GB, free: 152.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.9798, allocations: 99.38 kB / 0.9104 GB, free: 152.4 MB / 0.6856 GB Notification: Performance of SimCode: time 2.4e-07/0.9798, allocations: 4 kB / 0.9104 GB, free: 152.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0703/1.05, allocations: 60.87 MB / 0.9699 GB, free: 91.59 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.3, allocations: 15.22 kB / 0.9699 GB, free: 91.58 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties_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_SteamProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe 2>&1)