Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.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.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",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.001756/0.001756, allocations: 101.3 kB / 16.4 MB, free: 6 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.001969/0.001969, allocations: 196.5 kB / 17.34 MB, free: 5.582 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.438/1.438, 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.8484/0.8484, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 72.73 kB / 0.5735 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1375, allocations: 78.87 MB / 0.6505 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.4743/0.6119, allocations: 135.5 MB / 0.7829 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007782/0.6197, allocations: 7.916 MB / 0.7906 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.736e-05/0.6198, allocations: 0 / 0.7906 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.62, allocations: 33.22 kB / 0.7906 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.229e-05/0.6201, allocations: 16.05 kB / 0.7907 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004347/0.6245, allocations: 1.465 MB / 0.7921 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.6247, allocations: 76.94 kB / 0.7922 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.6247, allocations: 5.031 kB / 0.7922 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.6249, allocations: 41.33 kB / 0.7922 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.217e-05/0.625, allocations: 35.72 kB / 0.7922 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.625, allocations: 3.5 kB / 0.7922 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004955/0.63, allocations: 2.701 MB / 0.7949 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/0.63, allocations: 12.27 kB / 0.7949 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.6301, allocations: 37.38 kB / 0.7949 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002675/0.6328, allocations: 1.375 MB / 0.7963 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6328, allocations: 6 kB / 0.7963 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6328, allocations: 0 / 0.7963 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.6328, allocations: 0 / 0.7963 GB, free: 12.8 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001287/0.6341, allocations: 0.4971 MB / 0.7968 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.6342, allocations: 9.625 kB / 0.7968 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.6342, allocations: 41.52 kB / 0.7968 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003853/0.6346, allocations: 24.64 kB / 0.7968 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.6348, allocations: 171 kB / 0.797 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.461e-05/0.6348, allocations: 38.38 kB / 0.797 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.6349, allocations: 11.19 kB / 0.7971 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.6352, allocations: 114.7 kB / 0.7972 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.6352, allocations: 0 / 0.7972 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.6353, allocations: 4.875 kB / 0.7972 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.6353, allocations: 1.375 kB / 0.7972 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.6356, allocations: 116.4 kB / 0.7973 GB, free: 12.01 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.6361, allocations: 390.3 kB / 0.7976 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.6363, allocations: 121.2 kB / 0.7978 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.997e-05/0.6364, allocations: 50.41 kB / 0.7978 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01193/0.6484, allocations: 4.233 MB / 0.8019 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.6484, allocations: 39.77 kB / 0.802 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.6484, allocations: 0 / 0.802 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005273/0.649, allocations: 171.1 kB / 0.8021 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.649, allocations: 55.34 kB / 0.8022 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.494e-05/0.6491, allocations: 103.4 kB / 0.8023 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.6492, allocations: 28.36 kB / 0.8023 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.6492, allocations: 87.31 kB / 0.8024 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.6493, allocations: 40.58 kB / 0.8024 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.6493, allocations: 24.03 kB / 0.8025 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6494, allocations: 324.7 kB / 0.8028 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.6495, allocations: 23.2 kB / 0.8028 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.281e-05/0.6495, allocations: 29.64 kB / 0.8028 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.6497, allocations: 72.77 kB / 0.8029 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6497, allocations: 1.5 kB / 0.8029 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001732/0.6499, allocations: 110.2 kB / 0.803 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.6499, allocations: 6 kB / 0.803 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.6499, allocations: 0 / 0.803 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.6499, allocations: 6.422 kB / 0.803 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.65, allocations: 15.72 kB / 0.803 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.6501, allocations: 6.078 kB / 0.803 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.737e-05/0.6501, allocations: 17.83 kB / 0.8031 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.6501, allocations: 2.031 kB / 0.8031 GB, free: 8.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 8.599e-05/0.6502, allocations: 119.8 kB / 0.8032 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.6503, allocations: 2.812 kB / 0.8032 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004037/0.6507, allocations: 366.3 kB / 0.8035 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.6507, allocations: 7.438 kB / 0.8035 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.6507, allocations: 3.031 kB / 0.8035 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.6507, allocations: 4.125 kB / 0.8035 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.651, allocations: 280.7 kB / 0.8038 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.651, allocations: 2.406 kB / 0.8038 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.6511, allocations: 33.78 kB / 0.8038 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6511, allocations: 3.938 kB / 0.8038 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.6512, allocations: 3.312 kB / 0.8038 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6512, allocations: 2.75 kB / 0.8039 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6512, allocations: 2.25 kB / 0.8039 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.6515, allocations: 333.9 kB / 0.8042 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/0.6516, allocations: 105.6 kB / 0.8043 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.6516, allocations: 0 / 0.8043 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.6518, allocations: 18.08 kB / 0.8043 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.6518, allocations: 10.67 kB / 0.8043 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.6518, allocations: 12.03 kB / 0.8043 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.089e-05/0.6519, allocations: 78.31 kB / 0.8044 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6519, allocations: 0 / 0.8044 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001065/0.6529, allocations: 299.3 kB / 0.8047 GB, free: 7.219 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001936/0.6549, allocations: 1.151 MB / 0.8058 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.6551, allocations: 127.8 kB / 0.8059 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6551, allocations: 0 / 0.8059 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.6552, allocations: 113.9 kB / 0.806 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.6555, allocations: 26.86 kB / 0.8061 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009496/0.6565, allocations: 427.1 kB / 0.8065 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.6568, allocations: 0.7195 MB / 0.8072 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.657, allocations: 27.73 kB / 0.8072 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.657, allocations: 37.2 kB / 0.8072 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.657, allocations: 10.41 kB / 0.8072 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03698/0.694, allocations: 11.63 MB / 0.8186 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.272/8.966, allocations: 6.094 kB / 0.8186 GB, free: 15.35 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck_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_SteamSaturationConsistencyCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)