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.00473/0.00473, allocations: 101.7 kB / 15.88 MB, free: 6.312 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.001589/0.001589, allocations: 200.2 kB / 16.79 MB, free: 6.242 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.279/1.279, allocations: 222.9 MB / 240.5 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6791/0.6791, allocations: 115.3 MB / 405.9 MB, free: 6.465 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 493 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2822, allocations: 76.17 MB / 0.5558 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1256/0.4078, allocations: 133.5 MB / 0.6861 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008144/0.416, allocations: 8.481 MB / 0.6944 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.179e-05/0.4161, allocations: 0 / 0.6944 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.4162, allocations: 27.89 kB / 0.6944 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.373e-05/0.4163, allocations: 15.84 kB / 0.6945 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.4184, allocations: 1.155 MB / 0.6956 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.141e-05/0.4185, allocations: 75.69 kB / 0.6957 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.131e-05/0.4186, allocations: 4 kB / 0.6957 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.4187, allocations: 47.8 kB / 0.6957 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/0.4187, allocations: 31.89 kB / 0.6957 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.4188, allocations: 4 kB / 0.6957 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/0.422, allocations: 2.653 MB / 0.6983 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.4221, allocations: 19.92 kB / 0.6984 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.4221, allocations: 35.84 kB / 0.6984 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.4235, allocations: 1.372 MB / 0.6997 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4235, allocations: 0 / 0.6997 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.11e-07/0.4235, allocations: 0 / 0.6997 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.4235, allocations: 0 / 0.6997 GB, free: 0.8516 MB / 0.5294 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.0007865/0.4243, allocations: 499.2 kB / 0.7002 GB, free: 324 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4244, allocations: 15.91 kB / 0.7002 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.4244, allocations: 42.73 kB / 0.7003 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.4247, allocations: 24.83 kB / 0.7003 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.4249, allocations: 172.3 kB / 0.7004 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.306e-05/0.4249, allocations: 46 kB / 0.7005 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.425, allocations: 4 kB / 0.7005 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.4253, allocations: 117.6 kB / 0.7006 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.4253, allocations: 0 / 0.7006 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4253, allocations: 0 / 0.7006 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.4253, allocations: 0 / 0.7006 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.4256, allocations: 123.9 kB / 0.7007 GB, free: 15.72 MB / 0.545 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.0004173/0.426, allocations: 387.9 kB / 0.7011 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.4263, allocations: 126.6 kB / 0.7012 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/0.4264, allocations: 48.84 kB / 0.7013 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01058/0.4369, allocations: 4.21 MB / 0.7054 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.437, allocations: 34.56 kB / 0.7054 GB, free: 10.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.437, allocations: 0 / 0.7054 GB, free: 10.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.000462/0.4375, allocations: 167.8 kB / 0.7056 GB, free: 10.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.4375, allocations: 51.41 kB / 0.7056 GB, free: 10.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.332e-05/0.4376, allocations: 109.8 kB / 0.7057 GB, free: 10.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.4376, allocations: 25.7 kB / 0.7057 GB, free: 10.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.4376, allocations: 92.14 kB / 0.7058 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.4377, allocations: 47.44 kB / 0.7059 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.4377, allocations: 29.7 kB / 0.7059 GB, free: 9.973 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.4378, allocations: 314.8 kB / 0.7062 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/0.4379, allocations: 23.98 kB / 0.7062 GB, free: 9.633 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.438, allocations: 27.98 kB / 0.7063 GB, free: 9.605 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.4381, allocations: 71.97 kB / 0.7063 GB, free: 9.535 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4381, allocations: 0 / 0.7063 GB, free: 9.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001725/0.4383, allocations: 117.5 kB / 0.7064 GB, free: 9.414 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4383, allocations: 5.875 kB / 0.7064 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4383, allocations: 0 / 0.7064 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.4383, allocations: 0 / 0.7064 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.4384, allocations: 19.98 kB / 0.7065 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4384, allocations: 4 kB / 0.7065 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.4385, allocations: 7.938 kB / 0.7065 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.4385, allocations: 4 kB / 0.7065 GB, free: 9.375 MB / 0.545 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 7.079e-05/0.4386, allocations: 113.8 kB / 0.7066 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.4386, allocations: 19.83 kB / 0.7066 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/0.4391, allocations: 362.3 kB / 0.707 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.4391, allocations: 11.98 kB / 0.707 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4391, allocations: 0 / 0.707 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4391, allocations: 3.938 kB / 0.707 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.4394, allocations: 285.3 kB / 0.7072 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4394, allocations: 0 / 0.7072 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.4395, allocations: 27.92 kB / 0.7073 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4395, allocations: 0 / 0.7073 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.4395, allocations: 7.984 kB / 0.7073 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.4395, allocations: 4 kB / 0.7073 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4395, allocations: 0 / 0.7073 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.4399, allocations: 329.5 kB / 0.7076 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.89e-05/0.4399, allocations: 112.8 kB / 0.7077 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.44, allocations: 0 / 0.7077 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.4401, allocations: 8 kB / 0.7077 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.4401, allocations: 11.92 kB / 0.7077 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.4402, allocations: 8 kB / 0.7077 GB, free: 8.004 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.4402, allocations: 83.27 kB / 0.7078 GB, free: 7.922 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4402, allocations: 0 / 0.7078 GB, free: 7.922 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007398/0.4409, allocations: 299.9 kB / 0.7081 GB, free: 7.629 MB / 0.545 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.00162/0.4426, allocations: 1.15 MB / 0.7092 GB, free: 6.449 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.4428, allocations: 131.8 kB / 0.7093 GB, free: 6.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4428, allocations: 0 / 0.7093 GB, free: 6.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.4429, allocations: 111.9 kB / 0.7094 GB, free: 6.211 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.4432, allocations: 15.94 kB / 0.7095 GB, free: 6.195 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000843/0.4441, allocations: 492 kB / 0.7099 GB, free: 5.676 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.4443, allocations: 0.7169 MB / 0.7106 GB, free: 4.934 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.4444, allocations: 26.38 kB / 0.7107 GB, free: 4.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.4445, allocations: 43.36 kB / 0.7107 GB, free: 4.867 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.4445, allocations: 0 / 0.7107 GB, free: 4.867 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1836/0.6281, allocations: 11.44 MB / 0.7219 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.6283, allocations: 196.8 kB / 0.7221 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/2.811, allocations: 7.875 kB / 0.7221 GB, free: 9.289 MB / 0.5606 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)