Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_IDEAS_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.001142/0.001142, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008724/0.008724, allocations: 173.7 kB / 16.27 MB, free: 6.648 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.218/1.218, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7269/0.7269, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002973, allocations: 8 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3687, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1235/0.4922, allocations: 131.8 MB / 0.7124 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009056/0.5013, allocations: 8.382 MB / 0.7206 GB, free: 3.773 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.5014, allocations: 0 / 0.7206 GB, free: 3.773 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.5016, allocations: 19.89 kB / 0.7206 GB, free: 3.754 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.996e-05/0.5017, allocations: 15.86 kB / 0.7206 GB, free: 3.738 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.5042, allocations: 1.159 MB / 0.7218 GB, free: 2.586 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.442e-05/0.5043, allocations: 67.7 kB / 0.7218 GB, free: 2.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.042e-05/0.5044, allocations: 8 kB / 0.7218 GB, free: 2.512 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.5045, allocations: 55.77 kB / 0.7219 GB, free: 2.457 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.5046, allocations: 31.84 kB / 0.7219 GB, free: 2.426 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.5046, allocations: 4 kB / 0.7219 GB, free: 2.422 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.5082, allocations: 2.661 MB / 0.7245 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.5082, allocations: 19.91 kB / 0.7245 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.5083, allocations: 49.58 kB / 0.7246 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.5097, allocations: 1.365 MB / 0.7259 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5097, allocations: 4 kB / 0.7259 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5097, allocations: 0 / 0.7259 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.5097, allocations: 0 / 0.7259 GB, free: 14.31 MB / 0.5606 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.0008082/0.5105, allocations: 497 kB / 0.7264 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.5106, allocations: 8.031 kB / 0.7264 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.5106, allocations: 38.75 kB / 0.7264 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003821/0.511, allocations: 20.91 kB / 0.7265 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.856e-05/0.5111, allocations: 176.2 kB / 0.7266 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.454e-05/0.5112, allocations: 34.02 kB / 0.7267 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.5112, allocations: 8 kB / 0.7267 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.5115, allocations: 121.6 kB / 0.7268 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.5116, allocations: 0 / 0.7268 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.5116, allocations: 4 kB / 0.7268 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5116, allocations: 0 / 0.7268 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002707/0.5119, allocations: 122.6 kB / 0.7269 GB, free: 13.2 MB / 0.5606 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.0004168/0.5123, allocations: 380 kB / 0.7273 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.5125, allocations: 130.5 kB / 0.7274 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.183e-05/0.5126, allocations: 52.83 kB / 0.7274 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/0.523, allocations: 4.254 MB / 0.7316 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.5231, allocations: 38.48 kB / 0.7316 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.5231, allocations: 0 / 0.7316 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004713/0.5236, allocations: 161.6 kB / 0.7318 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.5236, allocations: 51.41 kB / 0.7318 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.366e-05/0.5237, allocations: 105.8 kB / 0.7319 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.5237, allocations: 29.7 kB / 0.732 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.5238, allocations: 88.03 kB / 0.732 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.5238, allocations: 43.53 kB / 0.7321 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.5239, allocations: 17.72 kB / 0.7321 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.243e-05/0.5239, allocations: 310.8 kB / 0.7324 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.207e-05/0.524, allocations: 27.98 kB / 0.7324 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.926e-05/0.524, allocations: 27.73 kB / 0.7325 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.5241, allocations: 76.78 kB / 0.7325 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5241, allocations: 4 kB / 0.7325 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001601/0.5243, allocations: 109.6 kB / 0.7326 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.5243, allocations: 4 kB / 0.7326 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5243, allocations: 7.922 kB / 0.7326 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.5244, allocations: 4 kB / 0.7326 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.5245, allocations: 27.92 kB / 0.7327 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5245, allocations: 0 / 0.7327 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.5245, allocations: 7.938 kB / 0.7327 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.5246, allocations: 0 / 0.7327 GB, free: 6.82 MB / 0.5606 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.393e-05/0.5246, allocations: 125.8 kB / 0.7328 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.5247, allocations: 7.906 kB / 0.7328 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.5251, allocations: 364.7 kB / 0.7332 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.5251, allocations: 3.984 kB / 0.7332 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5251, allocations: 7.875 kB / 0.7332 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.5252, allocations: 11.94 kB / 0.7332 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.5254, allocations: 285.3 kB / 0.7335 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5254, allocations: 3.984 kB / 0.7335 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.913e-05/0.5255, allocations: 16 kB / 0.7335 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.5255, allocations: 0 / 0.7335 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.5255, allocations: 11.98 kB / 0.7335 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5256, allocations: 0 / 0.7335 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5256, allocations: 0 / 0.7335 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.5259, allocations: 334.9 kB / 0.7338 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.5259, allocations: 104.9 kB / 0.7339 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.526, allocations: 0 / 0.7339 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.5261, allocations: 8 kB / 0.7339 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.5261, allocations: 11.92 kB / 0.7339 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.5262, allocations: 7.984 kB / 0.7339 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.906e-05/0.5262, allocations: 83.28 kB / 0.734 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5262, allocations: 0 / 0.734 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008523/0.5271, allocations: 295.9 kB / 0.7343 GB, free: 5.07 MB / 0.5606 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.001582/0.5287, allocations: 1.161 MB / 0.7354 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001879/0.5289, allocations: 124 kB / 0.7355 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5289, allocations: 0 / 0.7355 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.529, allocations: 111.8 kB / 0.7357 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.5293, allocations: 28.97 kB / 0.7357 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008559/0.5302, allocations: 0.4897 MB / 0.7362 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.5304, allocations: 0.7169 MB / 0.7369 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.5305, allocations: 28.34 kB / 0.7369 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.5306, allocations: 39.42 kB / 0.7369 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.5306, allocations: 4 kB / 0.7369 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3381/0.8687, allocations: 11.35 MB / 0.748 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/0.8691, allocations: 198 kB / 0.7482 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.857, allocations: 0 / 0.7482 GB, free: 6.824 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)