Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_dev_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.005297/0.005297, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.001436/0.001436, allocations: 189.9 kB / 16.67 MB, free: 5.949 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9016/0.9016, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002204, allocations: 63.89 kB / 0.5851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.427, allocations: 80.91 MB / 0.6641 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1475/0.5745, allocations: 135.6 MB / 0.7965 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008591/0.5831, allocations: 7.931 MB / 0.8043 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.813e-05/0.5832, allocations: 0 / 0.8043 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.5834, allocations: 27.83 kB / 0.8043 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.5835, allocations: 23.78 kB / 0.8043 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003399/0.5869, allocations: 1.462 MB / 0.8058 GB, free: 56 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.5871, allocations: 79.64 kB / 0.8058 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.5871, allocations: 4 kB / 0.8058 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.5872, allocations: 47.83 kB / 0.8059 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.607e-05/0.5873, allocations: 31.84 kB / 0.8059 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.5873, allocations: 4 kB / 0.8059 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00392/0.5913, allocations: 2.7 MB / 0.8086 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.5913, allocations: 11.98 kB / 0.8086 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.5914, allocations: 39.84 kB / 0.8086 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.593, allocations: 1.38 MB / 0.81 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.593, allocations: 0 / 0.81 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.593e-06/0.593, allocations: 0 / 0.81 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.593, allocations: 0 / 0.81 GB, free: 11.75 MB / 0.6387 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.0009587/0.594, allocations: 0.4913 MB / 0.8104 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.5941, allocations: 8.031 kB / 0.8104 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.5941, allocations: 38.75 kB / 0.8105 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003302/0.5944, allocations: 28.81 kB / 0.8105 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.5946, allocations: 172.3 kB / 0.8107 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.855e-05/0.5946, allocations: 34.02 kB / 0.8107 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.5947, allocations: 8 kB / 0.8107 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.595, allocations: 117.6 kB / 0.8108 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.595, allocations: 0 / 0.8108 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.595, allocations: 4 kB / 0.8108 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5951, allocations: 0 / 0.8108 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.5953, allocations: 115.9 kB / 0.8109 GB, free: 10.64 MB / 0.6387 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.0004652/0.5958, allocations: 388 kB / 0.8113 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.5961, allocations: 126.6 kB / 0.8114 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.192e-05/0.5961, allocations: 52.83 kB / 0.8115 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0117/0.6079, allocations: 4.226 MB / 0.8156 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.6079, allocations: 38.56 kB / 0.8156 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 2.295e-06/0.6079, allocations: 0 / 0.8156 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0005686/0.6085, allocations: 165.5 kB / 0.8158 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.6086, allocations: 55.41 kB / 0.8159 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.6086, allocations: 105.8 kB / 0.816 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.6087, allocations: 29.64 kB / 0.816 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.6087, allocations: 88.14 kB / 0.8161 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.6088, allocations: 43.44 kB / 0.8161 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.276e-05/0.6088, allocations: 29.7 kB / 0.8161 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.609, allocations: 310.8 kB / 0.8164 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.422e-05/0.609, allocations: 27.98 kB / 0.8165 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.756e-05/0.6091, allocations: 29.86 kB / 0.8165 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.6092, allocations: 80.78 kB / 0.8166 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6092, allocations: 0 / 0.8166 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001742/0.6094, allocations: 104 kB / 0.8167 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.6094, allocations: 4 kB / 0.8167 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6094, allocations: 0 / 0.8167 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.6094, allocations: 4 kB / 0.8167 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.6096, allocations: 23.98 kB / 0.8167 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6096, allocations: 0 / 0.8167 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.939e-05/0.6097, allocations: 11.84 kB / 0.8167 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.6097, allocations: 8 kB / 0.8167 GB, free: 4.266 MB / 0.6387 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 8.396e-05/0.6098, allocations: 117.8 kB / 0.8168 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.6098, allocations: 11.89 kB / 0.8168 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004192/0.6102, allocations: 352.4 kB / 0.8172 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.6103, allocations: 3.984 kB / 0.8172 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6103, allocations: 0 / 0.8172 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6103, allocations: 7.938 kB / 0.8172 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.6106, allocations: 289.1 kB / 0.8175 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6106, allocations: 4 kB / 0.8175 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.368e-05/0.6107, allocations: 23.92 kB / 0.8175 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6107, allocations: 0 / 0.8175 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.6107, allocations: 11.98 kB / 0.8175 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.6107, allocations: 0 / 0.8175 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6107, allocations: 0 / 0.8175 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.611, allocations: 327.8 kB / 0.8178 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.746e-05/0.6111, allocations: 108.8 kB / 0.8179 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.6111, allocations: 4 kB / 0.8179 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.6113, allocations: 8 kB / 0.8179 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.6113, allocations: 11.92 kB / 0.8179 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.6113, allocations: 7.938 kB / 0.8179 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.6114, allocations: 87.2 kB / 0.818 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6114, allocations: 7.938 kB / 0.818 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008736/0.6123, allocations: 295.9 kB / 0.8183 GB, free: 2.523 MB / 0.6387 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.001608/0.6139, allocations: 1.158 MB / 0.8195 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.6141, allocations: 119.9 kB / 0.8196 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6141, allocations: 4 kB / 0.8196 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.6142, allocations: 114.7 kB / 0.8197 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.6145, allocations: 19.92 kB / 0.8197 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000788/0.6153, allocations: 430 kB / 0.8201 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.6156, allocations: 0.7127 MB / 0.8208 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.908e-05/0.6157, allocations: 32.33 kB / 0.8208 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.6158, allocations: 43.42 kB / 0.8209 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.6158, allocations: 0 / 0.8209 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.6455, allocations: 11.65 MB / 0.8323 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/8.356, allocations: 7.891 kB / 0.8323 GB, free: 4.238 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)