Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_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.001786/0.001786, allocations: 105.1 kB / 16.4 MB, free: 6.5 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.00196/0.00196, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8181/0.8181, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 72.59 kB / 0.5736 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1514, allocations: 78.86 MB / 0.6506 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.4671/0.6186, allocations: 136.1 MB / 0.7835 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02531/0.6439, allocations: 22.67 MB / 0.8056 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.6442, allocations: 10.03 kB / 0.8056 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.6445, allocations: 42.53 kB / 0.8057 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.6449, allocations: 88.06 kB / 0.8057 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02052/0.6654, allocations: 6.951 MB / 0.8125 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.6658, allocations: 244.8 kB / 0.8128 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.6659, allocations: 15.92 kB / 0.8128 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003325/0.6662, allocations: 142.7 kB / 0.8129 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.6664, allocations: 96.53 kB / 0.813 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.6664, allocations: 7.75 kB / 0.813 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02215/0.6886, allocations: 11.64 MB / 0.8244 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.6887, allocations: 35.78 kB / 0.8244 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.6889, allocations: 79.94 kB / 0.8245 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01653/0.7054, allocations: 6.493 MB / 0.8308 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7055, allocations: 0 / 0.8308 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7055, allocations: 0 / 0.8308 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.7055, allocations: 0 / 0.8308 GB, free: 14.67 MB / 0.6075 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.003369/0.7089, allocations: 1.243 MB / 0.832 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.7089, allocations: 9.969 kB / 0.8321 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.431e-05/0.709, allocations: 48.02 kB / 0.8321 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.71, allocations: 90.95 kB / 0.8322 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.7104, allocations: 223.5 kB / 0.8324 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.7104, allocations: 19.53 kB / 0.8324 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.7104, allocations: 13.44 kB / 0.8324 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.7115, allocations: 452.1 kB / 0.8329 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.7116, allocations: 4 kB / 0.8329 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.7116, allocations: 10.55 kB / 0.8329 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.7116, allocations: 8.297 kB / 0.8329 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.7128, allocations: 0.5931 MB / 0.8335 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.7138, allocations: 0.8854 MB / 0.8343 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007898/0.7146, allocations: 249.2 kB / 0.8346 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.7148, allocations: 75.39 kB / 0.8346 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09371/0.8085, allocations: 35.42 MB / 0.8692 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.8085, allocations: 47.56 kB / 0.8693 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 5.14e-06/0.8086, allocations: 0 / 0.8693 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001792/0.8104, allocations: 425.3 kB / 0.8697 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.8104, allocations: 51.41 kB / 0.8697 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.8106, allocations: 139.7 kB / 0.8699 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.8106, allocations: 29.7 kB / 0.8699 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.8107, allocations: 112.5 kB / 0.87 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-05/0.8108, allocations: 93.33 kB / 0.8701 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.8109, allocations: 69.67 kB / 0.8702 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.8111, allocations: 334.8 kB / 0.8705 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.8113, allocations: 83.94 kB / 0.8705 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.8115, allocations: 133 kB / 0.8707 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.812, allocations: 219.8 kB / 0.8709 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.812, allocations: 4 kB / 0.8709 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008104/0.8128, allocations: 298.2 kB / 0.8712 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.8129, allocations: 7.938 kB / 0.8712 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.8129, allocations: 0 / 0.8712 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.8129, allocations: 8.156 kB / 0.8712 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.8132, allocations: 82.69 kB / 0.8713 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.8132, allocations: 4 kB / 0.8713 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.8134, allocations: 19.83 kB / 0.8713 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.8134, allocations: 31.97 kB / 0.8713 GB, free: 3.41 MB / 0.6387 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 0.0001396/0.8136, allocations: 125.8 kB / 0.8714 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.8138, allocations: 15.91 kB / 0.8715 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002725/0.8165, allocations: 2.346 MB / 0.8737 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.8166, allocations: 15.98 kB / 0.8738 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.8166, allocations: 0 / 0.8738 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.8166, allocations: 3.938 kB / 0.8738 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/0.8204, allocations: 3.421 MB / 0.8771 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.8204, allocations: 0 / 0.8771 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.8207, allocations: 59.88 kB / 0.8772 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.8207, allocations: 4 kB / 0.8772 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.8207, allocations: 7.938 kB / 0.8772 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.8207, allocations: 4 kB / 0.8772 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.8207, allocations: 4 kB / 0.8772 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00087/0.8216, allocations: 0.5467 MB / 0.8777 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.8218, allocations: 136.7 kB / 0.8778 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.8218, allocations: 19.86 kB / 0.8779 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.822, allocations: 8 kB / 0.8779 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.8221, allocations: 19.97 kB / 0.8779 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.8221, allocations: 12 kB / 0.8779 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001916/0.8223, allocations: 117 kB / 0.878 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8223, allocations: 3.938 kB / 0.878 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004512/0.8269, allocations: 1.707 MB / 0.8797 GB, free: 10.68 MB / 0.6544 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.009861/0.8367, allocations: 2.95 MB / 0.8826 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006771/0.8374, allocations: 333.2 kB / 0.8829 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.8375, allocations: 320 / 0.8829 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.8378, allocations: 241.2 kB / 0.8831 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.8383, allocations: 63.88 kB / 0.8832 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00597/0.8443, allocations: 3.088 MB / 0.8862 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.8447, allocations: 0.7699 MB / 0.8869 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000573/0.8453, allocations: 409.2 kB / 0.8873 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.8455, allocations: 99.39 kB / 0.8874 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of SimCode: time 4.4e-07/0.8455, allocations: 0 / 0.8874 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/0.9542, allocations: 63.13 MB / 0.9491 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.27, allocations: 6.25 kB / 0.9491 GB, free: 3.605 MB / 0.7169 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Media_Examples_SteamProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1)