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.001558/0.001558, 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.001504/0.001504, allocations: 194.3 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 1.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002426/0.002427, allocations: 294.4 kB / 290.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.05/1.05, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 98.98 kB / 0.6065 GB, free: 24.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1446, allocations: 89.16 MB / 0.6936 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3993/0.5439, allocations: 136.1 MB / 0.8265 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02676/0.5707, allocations: 22.67 MB / 0.8486 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.5708, allocations: 0 / 0.8486 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.5711, allocations: 50.52 kB / 0.8487 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.5714, allocations: 82.94 kB / 0.8488 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01642/0.5879, allocations: 6.954 MB / 0.8556 GB, free: 160 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.5882, allocations: 251.4 kB / 0.8558 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.5883, allocations: 17.23 kB / 0.8558 GB, free: 16 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.5886, allocations: 133.8 kB / 0.8559 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.5887, allocations: 93.16 kB / 0.856 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.5887, allocations: 7.812 kB / 0.856 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01939/0.6081, allocations: 11.33 MB / 0.8671 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.6083, allocations: 35.89 kB / 0.8671 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.6084, allocations: 79.64 kB / 0.8672 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01522/0.6237, allocations: 6.503 MB / 0.8736 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.6237, allocations: 4 kB / 0.8736 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6237, allocations: 0 / 0.8736 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.6238, allocations: 0 / 0.8736 GB, free: 3.109 MB / 0.5919 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.003391/0.6272, allocations: 1.197 MB / 0.8747 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.6272, allocations: 11.97 kB / 0.8747 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.485e-05/0.6273, allocations: 50.73 kB / 0.8748 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.6283, allocations: 84.67 kB / 0.8749 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.6286, allocations: 232.2 kB / 0.8751 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.6286, allocations: 23.69 kB / 0.8751 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.6286, allocations: 12 kB / 0.8751 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.6298, allocations: 454.6 kB / 0.8756 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.6298, allocations: 3.984 kB / 0.8756 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.6298, allocations: 12 kB / 0.8756 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.6299, allocations: 4 kB / 0.8756 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.6311, allocations: 0.593 MB / 0.8762 GB, free: 344 kB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.6322, allocations: 0.8783 MB / 0.877 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008422/0.6331, allocations: 252.9 kB / 0.8773 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.6332, allocations: 80.83 kB / 0.8773 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0883/0.7215, allocations: 35.04 MB / 0.9116 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.7216, allocations: 34.56 kB / 0.9116 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/0.7216, allocations: 0 / 0.9116 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001781/0.7234, allocations: 422.1 kB / 0.912 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.7234, allocations: 51.41 kB / 0.912 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.7235, allocations: 144.8 kB / 0.9122 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.7236, allocations: 33.7 kB / 0.9122 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.7237, allocations: 112.3 kB / 0.9123 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.7238, allocations: 86.75 kB / 0.9124 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.7239, allocations: 77.66 kB / 0.9125 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.724, allocations: 330.7 kB / 0.9128 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.7242, allocations: 79.95 kB / 0.9129 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.7245, allocations: 137.2 kB / 0.913 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.725, allocations: 217 kB / 0.9132 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.725, allocations: 0 / 0.9132 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000787/0.7258, allocations: 304.5 kB / 0.9135 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.7258, allocations: 8 kB / 0.9135 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7258, allocations: 3.938 kB / 0.9135 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.7258, allocations: 4 kB / 0.9135 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.7261, allocations: 79.88 kB / 0.9136 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.7261, allocations: 4 kB / 0.9136 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.7263, allocations: 19.78 kB / 0.9136 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.7263, allocations: 27.98 kB / 0.9136 GB, free: 6.676 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.0001382/0.7265, allocations: 129.9 kB / 0.9138 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.7267, allocations: 19.81 kB / 0.9138 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.7292, allocations: 2.35 MB / 0.9161 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.7292, allocations: 15.97 kB / 0.9161 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.7292, allocations: 0 / 0.9161 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.7293, allocations: 3.938 kB / 0.9161 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/0.7327, allocations: 3.423 MB / 0.9194 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.7327, allocations: 5.75 kB / 0.9194 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.7329, allocations: 55.94 kB / 0.9195 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.733, allocations: 0 / 0.9195 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.733, allocations: 15.92 kB / 0.9195 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.733, allocations: 3.938 kB / 0.9195 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.733, allocations: 4 kB / 0.9195 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008123/0.7338, allocations: 0.5457 MB / 0.92 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.734, allocations: 132.6 kB / 0.9202 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.734, allocations: 11.94 kB / 0.9202 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.7342, allocations: 15.98 kB / 0.9202 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.7343, allocations: 15.98 kB / 0.9202 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.7343, allocations: 19.98 kB / 0.9202 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.151e-05/0.7344, allocations: 103.3 kB / 0.9203 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7344, allocations: 0 / 0.9203 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00416/0.7386, allocations: 1.687 MB / 0.922 GB, free: 13.96 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.009084/0.7477, allocations: 2.936 MB / 0.9248 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007694/0.7485, allocations: 331.8 kB / 0.9252 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.7485, allocations: 7.938 kB / 0.9252 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.7488, allocations: 240.5 kB / 0.9254 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.7494, allocations: 69.58 kB / 0.9255 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005624/0.755, allocations: 3.055 MB / 0.9284 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.7554, allocations: 0.7661 MB / 0.9292 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005598/0.7559, allocations: 405.1 kB / 0.9296 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.7561, allocations: 95.39 kB / 0.9297 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7561, allocations: 0 / 0.9297 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1057/0.8619, allocations: 63.32 MB / 0.9915 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.92, allocations: 9.828 kB / 0.9915 GB, free: 6.625 MB / 0.7169 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)