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.001709/0.00171, allocations: 109.1 kB / 16.4 MB, free: 6.445 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.002191/0.002191, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.833/1.833, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8933/0.8933, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00228/0.002281, allocations: 67.19 kB / 0.5572 GB, free: 32.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2733, allocations: 76.18 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 1.344/1.618, allocations: 135.5 MB / 0.7639 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01757/1.635, allocations: 7.917 MB / 0.7716 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/1.636, allocations: 4.562 kB / 0.7716 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004157/1.636, allocations: 34.02 kB / 0.7717 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/1.636, allocations: 18.8 kB / 0.7717 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01009/1.646, allocations: 1.459 MB / 0.7731 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000262/1.647, allocations: 72.44 kB / 0.7732 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.863e-05/1.647, allocations: 6.375 kB / 0.7732 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/1.647, allocations: 42.06 kB / 0.7732 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/1.647, allocations: 35.48 kB / 0.7733 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/1.647, allocations: 2.781 kB / 0.7733 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0118/1.659, allocations: 2.702 MB / 0.7759 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.51e-05/1.659, allocations: 16.17 kB / 0.7759 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/1.659, allocations: 30.92 kB / 0.776 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007291/1.667, allocations: 1.377 MB / 0.7773 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/1.667, allocations: 5.406 kB / 0.7773 GB, free: 14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.749e-06/1.667, allocations: 0 / 0.7773 GB, free: 14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.012e-05/1.667, allocations: 1.094 kB / 0.7773 GB, free: 14 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.002894/1.67, allocations: 0.4915 MB / 0.7778 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 8.175e-05/1.67, allocations: 13.03 kB / 0.7778 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.925e-05/1.67, allocations: 39.7 kB / 0.7778 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000676/1.671, allocations: 27.48 kB / 0.7779 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/1.671, allocations: 178.2 kB / 0.778 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/1.671, allocations: 32.2 kB / 0.7781 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/1.671, allocations: 11.53 kB / 0.7781 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/1.672, allocations: 113.8 kB / 0.7782 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/1.672, allocations: 0 / 0.7782 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/1.672, allocations: 5.031 kB / 0.7782 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/1.672, allocations: 5.281 kB / 0.7782 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/1.672, allocations: 114.2 kB / 0.7783 GB, free: 13.27 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.0009219/1.673, allocations: 383.8 kB / 0.7787 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/1.674, allocations: 120 kB / 0.7788 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/1.674, allocations: 54.34 kB / 0.7788 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02158/1.696, allocations: 4.236 MB / 0.783 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.122e-05/1.696, allocations: 37.19 kB / 0.783 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 4.188e-06/1.696, allocations: 0 / 0.783 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.00114/1.697, allocations: 165.9 kB / 0.7832 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/1.697, allocations: 54.94 kB / 0.7832 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/1.697, allocations: 98.36 kB / 0.7833 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/1.697, allocations: 29.48 kB / 0.7833 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/1.697, allocations: 83.27 kB / 0.7834 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/1.697, allocations: 48.39 kB / 0.7835 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/1.698, allocations: 27.92 kB / 0.7835 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001739/1.698, allocations: 326.2 kB / 0.7838 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/1.698, allocations: 22.62 kB / 0.7838 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.246e-05/1.698, allocations: 32.08 kB / 0.7839 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/1.698, allocations: 63.61 kB / 0.7839 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/1.698, allocations: 3.938 kB / 0.7839 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003466/1.699, allocations: 112.3 kB / 0.784 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/1.699, allocations: 5.031 kB / 0.784 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.699, allocations: 0 / 0.784 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/1.699, allocations: 1.844 kB / 0.784 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/1.699, allocations: 30.94 kB / 0.7841 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/1.699, allocations: 0 / 0.7841 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/1.699, allocations: 10.47 kB / 0.7841 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/1.699, allocations: 3.344 kB / 0.7841 GB, free: 10.28 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 0.0001514/1.699, allocations: 118.4 kB / 0.7842 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.863e-05/1.699, allocations: 10.53 kB / 0.7842 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007989/1.7, allocations: 364.6 kB / 0.7846 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/1.7, allocations: 5.094 kB / 0.7846 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.7, allocations: 4 kB / 0.7846 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/1.7, allocations: 8.344 kB / 0.7846 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/1.701, allocations: 282.6 kB / 0.7848 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/1.701, allocations: 5.656 kB / 0.7848 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/1.701, allocations: 24.84 kB / 0.7849 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/1.701, allocations: 1.812 kB / 0.7849 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/1.701, allocations: 2.875 kB / 0.7849 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/1.701, allocations: 0 / 0.7849 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.701, allocations: 0 / 0.7849 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/1.702, allocations: 339.8 kB / 0.7852 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/1.702, allocations: 101.1 kB / 0.7853 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/1.702, allocations: 1.828 kB / 0.7853 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/1.702, allocations: 11.38 kB / 0.7853 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/1.702, allocations: 4.828 kB / 0.7853 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/1.702, allocations: 14.53 kB / 0.7853 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.011e-05/1.702, allocations: 82.28 kB / 0.7854 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.2e-07/1.702, allocations: 0 / 0.7854 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003873/1.706, allocations: 300 kB / 0.7857 GB, free: 9.516 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.005218/1.712, allocations: 1.146 MB / 0.7868 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005127/1.712, allocations: 129.2 kB / 0.7869 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.712, allocations: 0 / 0.7869 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/1.712, allocations: 115.1 kB / 0.787 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/1.713, allocations: 27.75 kB / 0.7871 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/1.716, allocations: 429.4 kB / 0.7875 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/1.716, allocations: 0.7146 MB / 0.7882 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002152/1.716, allocations: 30.56 kB / 0.7882 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/1.716, allocations: 36.91 kB / 0.7882 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of SimCode: time 9.32e-07/1.716, allocations: 0 / 0.7882 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06514/1.782, allocations: 11.67 MB / 0.7996 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/15.67, allocations: 10.45 kB / 0.7996 GB, free: 1.852 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)