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: translateModel(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 116.3 kB / 17.08 MB, free: 5.832 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.001497/0.001498, allocations: 192.7 kB / 18.02 MB, free: 4.965 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.354/1.354, allocations: 222.9 MB / 241.7 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.7376/0.7376, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 64 kB / 0.5583 GB, free: 32.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1917, allocations: 76.18 MB / 0.6327 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.4928/0.6846, allocations: 135.5 MB / 0.7651 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007579/0.6922, allocations: 7.915 MB / 0.7728 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/0.6923, allocations: 0 / 0.7728 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.6925, allocations: 31.38 kB / 0.7728 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.338e-05/0.6926, allocations: 21.16 kB / 0.7728 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004023/0.6966, allocations: 1.462 MB / 0.7743 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.6968, allocations: 74.73 kB / 0.7743 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.6968, allocations: 3.812 kB / 0.7743 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.6969, allocations: 46.22 kB / 0.7744 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.883e-05/0.697, allocations: 39.16 kB / 0.7744 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.6971, allocations: 4.516 kB / 0.7744 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00477/0.7018, allocations: 2.697 MB / 0.7771 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.7019, allocations: 13.64 kB / 0.7771 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.308e-05/0.702, allocations: 36.36 kB / 0.7771 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.704, allocations: 1.373 MB / 0.7785 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7041, allocations: 1.094 kB / 0.7785 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7041, allocations: 0 / 0.7785 GB, free: 15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.7041, allocations: 0 / 0.7785 GB, free: 15 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.0009529/0.705, allocations: 0.4943 MB / 0.7789 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.7051, allocations: 12.41 kB / 0.7789 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003559/0.7054, allocations: 21.98 kB / 0.779 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.7056, allocations: 172.7 kB / 0.7791 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.639e-05/0.7057, allocations: 37.33 kB / 0.7792 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.7057, allocations: 7.375 kB / 0.7792 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.706, allocations: 120.5 kB / 0.7793 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.7061, allocations: 5.188 kB / 0.7793 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.7061, allocations: 5.281 kB / 0.7793 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.7061, allocations: 1.375 kB / 0.7793 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.7064, allocations: 117.9 kB / 0.7794 GB, free: 14.31 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.0004704/0.7069, allocations: 381.8 kB / 0.7798 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.7071, allocations: 124.7 kB / 0.7799 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.373e-05/0.7072, allocations: 51.56 kB / 0.7799 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.719, allocations: 4.239 MB / 0.7841 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.7191, allocations: 35.94 kB / 0.7841 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.374e-06/0.7191, allocations: 0 / 0.7841 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005252/0.7196, allocations: 163.5 kB / 0.7843 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.7196, allocations: 54.06 kB / 0.7843 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/0.7197, allocations: 99.53 kB / 0.7844 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.7197, allocations: 33.64 kB / 0.7845 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.7198, allocations: 80.14 kB / 0.7845 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.7198, allocations: 41.56 kB / 0.7846 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.7199, allocations: 34.88 kB / 0.7846 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.72, allocations: 320.7 kB / 0.7849 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.72, allocations: 23.75 kB / 0.7849 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-05/0.7201, allocations: 31.39 kB / 0.785 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.724e-05/0.7202, allocations: 69.64 kB / 0.785 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7202, allocations: 1.875 kB / 0.785 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001668/0.7204, allocations: 107.8 kB / 0.7851 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.7204, allocations: 6.031 kB / 0.7851 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.7204, allocations: 0 / 0.7851 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.7204, allocations: 4 kB / 0.7851 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.7206, allocations: 25.78 kB / 0.7852 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.7206, allocations: 0 / 0.7852 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.28e-05/0.7206, allocations: 5.625 kB / 0.7852 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.7206, allocations: 10.62 kB / 0.7852 GB, free: 11.32 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.112e-05/0.7207, allocations: 117.8 kB / 0.7853 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.7208, allocations: 7.188 kB / 0.7853 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.7212, allocations: 363.2 kB / 0.7857 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.7212, allocations: 13.16 kB / 0.7857 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7212, allocations: 2.156 kB / 0.7857 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7212, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.7215, allocations: 286.7 kB / 0.7859 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.7215, allocations: 0 / 0.7859 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.7216, allocations: 25.09 kB / 0.786 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.7216, allocations: 3.938 kB / 0.786 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.7216, allocations: 6.688 kB / 0.786 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.7216, allocations: 0 / 0.786 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7217, allocations: 0 / 0.786 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.722, allocations: 338.5 kB / 0.7863 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.722, allocations: 101.8 kB / 0.7864 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.7221, allocations: 6.125 kB / 0.7864 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.7222, allocations: 4.609 kB / 0.7864 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.7222, allocations: 10.5 kB / 0.7864 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.7222, allocations: 5.312 kB / 0.7864 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.166e-05/0.7223, allocations: 89.27 kB / 0.7865 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7223, allocations: 2.5 kB / 0.7865 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001146/0.7235, allocations: 299.3 kB / 0.7868 GB, free: 10.55 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.001228/0.7247, allocations: 400.5 kB / 0.7872 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.7249, allocations: 129 kB / 0.7873 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7249, allocations: 2.438 kB / 0.7873 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.725, allocations: 110.4 kB / 0.7874 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.7253, allocations: 16.69 kB / 0.7874 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/0.7258, allocations: 344 kB / 0.7877 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.7261, allocations: 0.712 MB / 0.7884 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.7261, allocations: 21.34 kB / 0.7885 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.7261, allocations: 0 / 0.7885 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.009972/0.7361, allocations: 6.747 MB / 0.7951 GB, free: 6.219 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.makefile (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 & ./IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)