Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_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.00157/0.001571, 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.00183/0.00183, allocations: 192 kB / 16.53 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 2.189/2.189, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00225/0.00225, allocations: 298.6 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.3/1.3, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003737/0.003737, allocations: 101.9 kB / 0.5953 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2935, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.8581/1.152, allocations: 136.1 MB / 0.8132 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.05665/1.208, allocations: 22.32 MB / 0.835 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000369/1.209, allocations: 5.094 kB / 0.835 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000515/1.209, allocations: 44.42 kB / 0.8351 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007478/1.21, allocations: 97.45 kB / 0.8352 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.04597/1.256, allocations: 6.697 MB / 0.8417 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000949/1.257, allocations: 252.8 kB / 0.8419 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/1.257, allocations: 10 kB / 0.8419 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007893/1.258, allocations: 135.8 kB / 0.8421 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004058/1.259, allocations: 93.23 kB / 0.8422 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.707e-05/1.259, allocations: 7.906 kB / 0.8422 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05091/1.31, allocations: 10.68 MB / 0.8526 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/1.31, allocations: 36.89 kB / 0.8526 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002641/1.31, allocations: 77.19 kB / 0.8527 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03358/1.344, allocations: 6.18 MB / 0.8587 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.719e-05/1.344, allocations: 3.984 kB / 0.8587 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.564e-06/1.344, allocations: 0 / 0.8587 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.346e-05/1.344, allocations: 0 / 0.8587 GB, free: 4.141 MB / 0.5762 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.007675/1.351, allocations: 1.186 MB / 0.8599 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.236e-05/1.352, allocations: 9.531 kB / 0.8599 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/1.352, allocations: 52.11 kB / 0.86 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/1.354, allocations: 87.05 kB / 0.86 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/1.355, allocations: 227.1 kB / 0.8603 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/1.355, allocations: 19.16 kB / 0.8603 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/1.355, allocations: 14.09 kB / 0.8603 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/1.357, allocations: 447.8 kB / 0.8607 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/1.357, allocations: 4 kB / 0.8607 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.314e-05/1.357, allocations: 10.58 kB / 0.8607 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/1.357, allocations: 6.938 kB / 0.8607 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/1.359, allocations: 0.5974 MB / 0.8613 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/1.362, allocations: 0.8786 MB / 0.8622 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/1.363, allocations: 248.6 kB / 0.8624 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/1.363, allocations: 77.36 kB / 0.8625 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1767/1.54, allocations: 35.05 MB / 0.8967 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/1.54, allocations: 38.56 kB / 0.8968 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 3.567e-06/1.54, allocations: 7.938 kB / 0.8968 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.003398/1.544, allocations: 421.7 kB / 0.8972 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/1.544, allocations: 51.41 kB / 0.8972 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/1.544, allocations: 143.7 kB / 0.8974 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.307e-05/1.544, allocations: 29.7 kB / 0.8974 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/1.544, allocations: 110.6 kB / 0.8975 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/1.544, allocations: 86.75 kB / 0.8976 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/1.545, allocations: 73.66 kB / 0.8976 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002041/1.545, allocations: 338.7 kB / 0.898 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/1.545, allocations: 79.95 kB / 0.898 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/1.546, allocations: 129.1 kB / 0.8982 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009202/1.547, allocations: 217 kB / 0.8984 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/1.547, allocations: 0 / 0.8984 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001563/1.548, allocations: 296.7 kB / 0.8987 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/1.548, allocations: 11.98 kB / 0.8987 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.548, allocations: 0 / 0.8987 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.302e-05/1.548, allocations: 4 kB / 0.8987 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005958/1.549, allocations: 84.03 kB / 0.8988 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/1.549, allocations: 4 kB / 0.8988 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/1.549, allocations: 19.78 kB / 0.8988 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.632e-05/1.55, allocations: 27.98 kB / 0.8988 GB, free: 12.71 MB / 0.6231 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.0002642/1.55, allocations: 122.4 kB / 0.8989 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/1.55, allocations: 23.8 kB / 0.8989 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004622/1.555, allocations: 2.342 MB / 0.9012 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.019e-05/1.555, allocations: 15.97 kB / 0.9012 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/1.555, allocations: 2.125 kB / 0.9012 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.555, allocations: 7.938 kB / 0.9013 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006265/1.561, allocations: 3.431 MB / 0.9046 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/1.561, allocations: 0 / 0.9046 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/1.562, allocations: 59.89 kB / 0.9047 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/1.562, allocations: 0 / 0.9047 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/1.562, allocations: 15.92 kB / 0.9047 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/1.562, allocations: 0 / 0.9047 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.562, allocations: 0 / 0.9047 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/1.564, allocations: 0.5492 MB / 0.9052 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/1.564, allocations: 140.5 kB / 0.9053 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.974e-05/1.564, allocations: 11.94 kB / 0.9054 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/1.565, allocations: 11.98 kB / 0.9054 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/1.565, allocations: 15.98 kB / 0.9054 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.797e-05/1.565, allocations: 19.98 kB / 0.9054 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001516/1.565, allocations: 105.3 kB / 0.9055 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.41e-07/1.565, allocations: 4 kB / 0.9055 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.009072/1.574, allocations: 1.62 MB / 0.9071 GB, free: 4.066 MB / 0.6231 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.01972/1.594, allocations: 2.899 MB / 0.9099 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001572/1.595, allocations: 328.3 kB / 0.9102 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.595, allocations: 0 / 0.9102 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007007/1.596, allocations: 240.5 kB / 0.9105 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/1.597, allocations: 70.23 kB / 0.9105 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/1.611, allocations: 3.035 MB / 0.9135 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000775/1.612, allocations: 0.7661 MB / 0.9142 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001278/1.613, allocations: 413.1 kB / 0.9146 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/1.613, allocations: 95.39 kB / 0.9147 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of SimCode: time 1.162e-06/1.613, allocations: 0 / 0.9147 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1988/1.812, allocations: 60.96 MB / 0.9743 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.57/19.38, allocations: 8.688 kB / 0.9743 GB, free: 15.3 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Examples_SteamProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)