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.001653/0.001653, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7744/0.7744, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 68.55 kB / 0.5019 GB, free: 3.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3444, allocations: 80.2 MB / 0.5802 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1551/0.4996, allocations: 135.6 MB / 0.7126 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008952/0.5086, allocations: 7.927 MB / 0.7203 GB, free: 1.426 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.5087, allocations: 4 kB / 0.7203 GB, free: 1.422 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.5089, allocations: 19.89 kB / 0.7204 GB, free: 1.402 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.436e-05/0.509, allocations: 19.78 kB / 0.7204 GB, free: 1.383 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003387/0.5124, allocations: 1.463 MB / 0.7218 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.5125, allocations: 75.7 kB / 0.7219 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.5125, allocations: 4 kB / 0.7219 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.5127, allocations: 43.73 kB / 0.7219 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.5128, allocations: 39.83 kB / 0.722 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.5128, allocations: 4 kB / 0.722 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00401/0.5168, allocations: 2.645 MB / 0.7246 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.5169, allocations: 19.91 kB / 0.7246 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.5169, allocations: 31.86 kB / 0.7246 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.5192, allocations: 1.372 MB / 0.7259 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5193, allocations: 4 kB / 0.7259 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5193, allocations: 0 / 0.7259 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.5193, allocations: 0 / 0.7259 GB, free: 11.68 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.001122/0.5204, allocations: 499.1 kB / 0.7264 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.5205, allocations: 12.03 kB / 0.7264 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.5205, allocations: 46.67 kB / 0.7265 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.5209, allocations: 24.77 kB / 0.7265 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.521, allocations: 172.3 kB / 0.7267 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.219e-05/0.5211, allocations: 38.02 kB / 0.7267 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.5211, allocations: 4 kB / 0.7267 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.5215, allocations: 111.6 kB / 0.7268 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5215, allocations: 0 / 0.7268 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.5216, allocations: 11.98 kB / 0.7268 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.5216, allocations: 7.984 kB / 0.7268 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.5218, allocations: 115.8 kB / 0.7269 GB, free: 10.56 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.0004569/0.5223, allocations: 384 kB / 0.7273 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.5226, allocations: 126.5 kB / 0.7274 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.481e-05/0.5227, allocations: 48.84 kB / 0.7275 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.5339, allocations: 4.203 MB / 0.7316 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.534, allocations: 38.5 kB / 0.7316 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.534, allocations: 0 / 0.7316 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004665/0.5345, allocations: 161.5 kB / 0.7318 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.5345, allocations: 55.41 kB / 0.7318 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.5346, allocations: 105.8 kB / 0.7319 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.5346, allocations: 29.7 kB / 0.732 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.5347, allocations: 88.12 kB / 0.732 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.5347, allocations: 39.53 kB / 0.7321 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.5348, allocations: 33.61 kB / 0.7321 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.5349, allocations: 318.8 kB / 0.7324 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-05/0.5349, allocations: 23.98 kB / 0.7324 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-05/0.535, allocations: 33.42 kB / 0.7325 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.5351, allocations: 72.84 kB / 0.7325 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5351, allocations: 0 / 0.7325 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001828/0.5353, allocations: 103.9 kB / 0.7326 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.5353, allocations: 8 kB / 0.7326 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5353, allocations: 0 / 0.7326 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.5353, allocations: 0 / 0.7326 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.5355, allocations: 27.92 kB / 0.7327 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.5355, allocations: 0 / 0.7327 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.271e-05/0.5355, allocations: 11.84 kB / 0.7327 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.5355, allocations: 8 kB / 0.7327 GB, free: 4.215 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.213e-05/0.5356, allocations: 113.8 kB / 0.7328 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.5357, allocations: 7.984 kB / 0.7328 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/0.5361, allocations: 372.2 kB / 0.7332 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.5361, allocations: 19.92 kB / 0.7332 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5361, allocations: 0 / 0.7332 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5361, allocations: 3.938 kB / 0.7332 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.5364, allocations: 277.4 kB / 0.7334 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5364, allocations: 0 / 0.7334 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-05/0.5365, allocations: 19.98 kB / 0.7335 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5365, allocations: 4 kB / 0.7335 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.5365, allocations: 7.984 kB / 0.7335 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5365, allocations: 0 / 0.7335 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.5365, allocations: 3.984 kB / 0.7335 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.5369, allocations: 334.9 kB / 0.7338 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.537, allocations: 108.8 kB / 0.7339 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.537, allocations: 0 / 0.7339 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.5371, allocations: 8 kB / 0.7339 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.5371, allocations: 11.92 kB / 0.7339 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.5372, allocations: 7.984 kB / 0.7339 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.644e-05/0.5372, allocations: 87.45 kB / 0.734 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5372, allocations: 0 / 0.734 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007706/0.538, allocations: 303.9 kB / 0.7343 GB, free: 2.461 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.001722/0.5397, allocations: 1.134 MB / 0.7354 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.54, allocations: 135.9 kB / 0.7355 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.54, allocations: 0 / 0.7355 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.5401, allocations: 110.9 kB / 0.7356 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.5404, allocations: 35.86 kB / 0.7357 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009343/0.5414, allocations: 433.9 kB / 0.7361 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.5416, allocations: 0.7166 MB / 0.7368 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.5417, allocations: 28.12 kB / 0.7368 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.5418, allocations: 39.42 kB / 0.7369 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.5418, allocations: 0 / 0.7369 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.061/1.603, allocations: 11.6 MB / 0.7482 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/12.16, allocations: 9.688 kB / 0.7482 GB, free: 4.242 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)