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.001496/0.001496, allocations: 106.5 kB / 16.41 MB, free: 6.484 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.001667/0.001667, allocations: 191.9 kB / 17.34 MB, free: 5.746 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.766/0.766, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.02 kB / 0.5679 GB, free: 28.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1321, allocations: 77.93 MB / 0.644 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.4499/0.5821, allocations: 135.5 MB / 0.7764 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008062/0.5902, allocations: 7.919 MB / 0.7841 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.5903, allocations: 0.9688 kB / 0.7841 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.5905, allocations: 32.55 kB / 0.7842 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.381e-05/0.5906, allocations: 21.53 kB / 0.7842 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.5942, allocations: 1.468 MB / 0.7856 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.5944, allocations: 77.78 kB / 0.7857 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.5944, allocations: 6.938 kB / 0.7857 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.5946, allocations: 45.16 kB / 0.7857 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.103e-05/0.5947, allocations: 32.5 kB / 0.7858 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.5947, allocations: 3.781 kB / 0.7858 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004014/0.5987, allocations: 2.7 MB / 0.7884 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.5988, allocations: 24.86 kB / 0.7884 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.021e-05/0.5988, allocations: 35.58 kB / 0.7885 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.6008, allocations: 1.373 MB / 0.7898 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6009, allocations: 0 / 0.7898 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6009, allocations: 1.219 kB / 0.7898 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.6009, allocations: 0 / 0.7898 GB, free: 13.73 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.001099/0.602, allocations: 0.4936 MB / 0.7903 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.602, allocations: 9.531 kB / 0.7903 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.432e-05/0.6021, allocations: 38.92 kB / 0.7903 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/0.6025, allocations: 30.17 kB / 0.7904 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.6026, allocations: 170 kB / 0.7905 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.715e-05/0.6027, allocations: 33.38 kB / 0.7906 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.6027, allocations: 11.5 kB / 0.7906 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.6031, allocations: 119.7 kB / 0.7907 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6031, allocations: 3.938 kB / 0.7907 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.6031, allocations: 4.688 kB / 0.7907 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.6031, allocations: 2.438 kB / 0.7907 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.6034, allocations: 110.6 kB / 0.7908 GB, free: 13 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.0004633/0.6039, allocations: 389.3 kB / 0.7912 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.6042, allocations: 122.8 kB / 0.7913 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.544e-05/0.6043, allocations: 54.16 kB / 0.7913 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01172/0.616, allocations: 4.235 MB / 0.7955 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.616, allocations: 33.09 kB / 0.7955 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.616, allocations: 1.203 kB / 0.7955 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005055/0.6165, allocations: 172.6 kB / 0.7957 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.6166, allocations: 54.12 kB / 0.7957 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.06e-05/0.6167, allocations: 98.81 kB / 0.7958 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.6167, allocations: 28.89 kB / 0.7958 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.6168, allocations: 82.02 kB / 0.7959 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.6168, allocations: 46.08 kB / 0.796 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.6169, allocations: 23.75 kB / 0.796 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.617, allocations: 325.1 kB / 0.7963 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.692e-05/0.617, allocations: 27.7 kB / 0.7963 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.766e-05/0.6171, allocations: 25.48 kB / 0.7963 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.6172, allocations: 79.92 kB / 0.7964 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6172, allocations: 0 / 0.7964 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001713/0.6174, allocations: 102.3 kB / 0.7965 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.6174, allocations: 11.36 kB / 0.7965 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6174, allocations: 0 / 0.7965 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.6175, allocations: 1.375 kB / 0.7965 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.6176, allocations: 24.05 kB / 0.7966 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.6176, allocations: 1.375 kB / 0.7966 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.55e-05/0.6177, allocations: 17.2 kB / 0.7966 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.6177, allocations: 6 kB / 0.7966 GB, free: 9.559 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.692e-05/0.6178, allocations: 117.2 kB / 0.7967 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.6178, allocations: 4.312 kB / 0.7967 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004269/0.6183, allocations: 368.4 kB / 0.797 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.6183, allocations: 14.16 kB / 0.7971 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.6183, allocations: 1.781 kB / 0.7971 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.6183, allocations: 3.938 kB / 0.7971 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.6186, allocations: 277.6 kB / 0.7973 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6186, allocations: 0 / 0.7973 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.6187, allocations: 28.39 kB / 0.7974 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6187, allocations: 0 / 0.7974 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.6187, allocations: 3.984 kB / 0.7974 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6187, allocations: 0 / 0.7974 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.6187, allocations: 0 / 0.7974 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.6191, allocations: 337.6 kB / 0.7977 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.6191, allocations: 104.7 kB / 0.7978 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.6192, allocations: 6.062 kB / 0.7978 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.6193, allocations: 7.484 kB / 0.7978 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.6193, allocations: 9.828 kB / 0.7978 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.6194, allocations: 12.91 kB / 0.7978 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.701e-05/0.6194, allocations: 84.03 kB / 0.7979 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.82e-07/0.6194, allocations: 0 / 0.7979 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001011/0.6204, allocations: 295.4 kB / 0.7982 GB, free: 8.688 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.001739/0.6222, allocations: 1.158 MB / 0.7993 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.6224, allocations: 127.5 kB / 0.7994 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6224, allocations: 0 / 0.7994 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.6225, allocations: 110.9 kB / 0.7995 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.6228, allocations: 20.64 kB / 0.7996 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009776/0.6238, allocations: 442.5 kB / 0.8 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.6241, allocations: 0.7176 MB / 0.8007 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.6242, allocations: 27.17 kB / 0.8007 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.6243, allocations: 43.88 kB / 0.8007 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of SimCode: time 1.673e-06/0.6243, allocations: 0 / 0.8007 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.6528, allocations: 11.62 MB / 0.8121 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.76/8.413, allocations: 6.438 kB / 0.8121 GB, free: 0.8086 MB / 0.5919 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)