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.001239/0.00124, allocations: 104.9 kB / 15.99 MB, free: 6.355 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.001205/0.001205, allocations: 193.1 kB / 16.91 MB, free: 6.195 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.204/1.204, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6677/0.6677, allocations: 115.3 MB / 406.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.89 kB / 493.2 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.285, allocations: 76.17 MB / 0.556 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1179/0.403, allocations: 133.6 MB / 0.6865 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007732/0.4108, allocations: 7.961 MB / 0.6943 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.443e-05/0.4108, allocations: 0 / 0.6943 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.411, allocations: 23.89 kB / 0.6943 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.813e-05/0.4111, allocations: 15.8 kB / 0.6943 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.4139, allocations: 1.303 MB / 0.6956 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.562e-05/0.414, allocations: 67.72 kB / 0.6956 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.414, allocations: 8 kB / 0.6956 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.4142, allocations: 43.83 kB / 0.6957 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/0.4142, allocations: 39.84 kB / 0.6957 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.4143, allocations: 0 / 0.6957 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003227/0.4175, allocations: 2.645 MB / 0.6983 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.4175, allocations: 19.91 kB / 0.6983 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.4176, allocations: 31.86 kB / 0.6984 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.4189, allocations: 1.376 MB / 0.6997 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4189, allocations: 0 / 0.6997 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4189, allocations: 4 kB / 0.6997 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.4189, allocations: 0 / 0.6997 GB, free: 0.9844 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.0008199/0.4197, allocations: 0.4952 MB / 0.7002 GB, free: 452 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4198, allocations: 12.03 kB / 0.7002 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.4198, allocations: 34.75 kB / 0.7002 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/0.4202, allocations: 28.81 kB / 0.7003 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.993e-05/0.4203, allocations: 164.3 kB / 0.7004 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.089e-05/0.4203, allocations: 38.02 kB / 0.7005 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.4203, allocations: 12 kB / 0.7005 GB, free: 108 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.4207, allocations: 121.5 kB / 0.7006 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4207, allocations: 0 / 0.7006 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.4207, allocations: 4 kB / 0.7006 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.4207, allocations: 4 kB / 0.7006 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/0.421, allocations: 111.9 kB / 0.7007 GB, free: 15.86 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.0003999/0.4214, allocations: 384 kB / 0.7011 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.4216, allocations: 122.6 kB / 0.7012 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.844e-05/0.4217, allocations: 52.83 kB / 0.7012 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009832/0.4316, allocations: 4.202 MB / 0.7053 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.4316, allocations: 38.56 kB / 0.7054 GB, free: 10.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.4316, allocations: 0 / 0.7054 GB, free: 10.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0004197/0.432, allocations: 165.5 kB / 0.7055 GB, free: 10.51 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.4321, allocations: 59.34 kB / 0.7056 GB, free: 10.44 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.484e-05/0.4321, allocations: 101.8 kB / 0.7057 GB, free: 10.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.4321, allocations: 25.7 kB / 0.7057 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.4322, allocations: 84.12 kB / 0.7058 GB, free: 10.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.4322, allocations: 51.44 kB / 0.7058 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.4323, allocations: 33.7 kB / 0.7059 GB, free: 10.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.402e-05/0.4324, allocations: 314.8 kB / 0.7062 GB, free: 9.805 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.142e-05/0.4324, allocations: 27.98 kB / 0.7062 GB, free: 9.777 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.929e-05/0.4325, allocations: 23.98 kB / 0.7062 GB, free: 9.754 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.642e-05/0.4326, allocations: 71.55 kB / 0.7063 GB, free: 9.684 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4326, allocations: 0 / 0.7063 GB, free: 9.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001598/0.4327, allocations: 113.5 kB / 0.7064 GB, free: 9.566 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.4327, allocations: 5.719 kB / 0.7064 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4328, allocations: 0 / 0.7064 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.4328, allocations: 4 kB / 0.7064 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.4329, allocations: 27.98 kB / 0.7064 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.4329, allocations: 0 / 0.7064 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.433, allocations: 3.938 kB / 0.7064 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.433, allocations: 7.984 kB / 0.7064 GB, free: 9.52 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.343e-05/0.4331, allocations: 117.8 kB / 0.7066 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.4331, allocations: 7.906 kB / 0.7066 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.4335, allocations: 370.6 kB / 0.7069 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.4335, allocations: 7.984 kB / 0.7069 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4335, allocations: 0 / 0.7069 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4335, allocations: 7.922 kB / 0.7069 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.4338, allocations: 285.3 kB / 0.7072 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4338, allocations: 0 / 0.7072 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.485e-05/0.4339, allocations: 27.92 kB / 0.7072 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4339, allocations: 4 kB / 0.7072 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.4339, allocations: 4 kB / 0.7072 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.4339, allocations: 8 kB / 0.7072 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4339, allocations: 3.938 kB / 0.7073 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.4342, allocations: 327 kB / 0.7076 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.4343, allocations: 104.8 kB / 0.7077 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.4343, allocations: 4 kB / 0.7077 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.4344, allocations: 11.98 kB / 0.7077 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.4345, allocations: 11.92 kB / 0.7077 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.4345, allocations: 7.938 kB / 0.7077 GB, free: 8.141 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.007e-05/0.4345, allocations: 83.28 kB / 0.7078 GB, free: 8.059 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4345, allocations: 0 / 0.7078 GB, free: 8.059 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006254/0.4352, allocations: 295.9 kB / 0.7081 GB, free: 7.77 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.001481/0.4366, allocations: 1.149 MB / 0.7092 GB, free: 6.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.4369, allocations: 131.9 kB / 0.7093 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4369, allocations: 0 / 0.7093 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.437, allocations: 111.9 kB / 0.7094 GB, free: 6.352 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.4373, allocations: 16.78 kB / 0.7094 GB, free: 6.336 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000794/0.4381, allocations: 0.4902 MB / 0.7099 GB, free: 5.805 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.4384, allocations: 0.7205 MB / 0.7106 GB, free: 5.059 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.407e-05/0.4385, allocations: 22.27 kB / 0.7106 GB, free: 5.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.4385, allocations: 39.42 kB / 0.7107 GB, free: 5 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4385, allocations: 0 / 0.7107 GB, free: 5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.715/2.153, allocations: 11.55 MB / 0.7219 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/2.154, allocations: 199.4 kB / 0.7221 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.971/5.125, allocations: 0 / 0.7221 GB, free: 9.344 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)