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.001113/0.001113, 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.001249/0.001249, allocations: 199.5 kB / 16.54 MB, free: 6.672 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7521/0.7521, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 65.03 kB / 0.5019 GB, free: 8.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.143, allocations: 80.21 MB / 0.5802 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.3803/0.5233, allocations: 135.6 MB / 0.7126 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008718/0.5321, allocations: 7.916 MB / 0.7203 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.5322, allocations: 5.219 kB / 0.7203 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.5324, allocations: 24.2 kB / 0.7203 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.5325, allocations: 20.88 kB / 0.7204 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004326/0.5368, allocations: 1.473 MB / 0.7218 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.5369, allocations: 69.8 kB / 0.7219 GB, free: 9.348 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.537, allocations: 11.38 kB / 0.7219 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.5371, allocations: 42.22 kB / 0.7219 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.521e-05/0.5372, allocations: 40.05 kB / 0.722 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.5372, allocations: 6.469 kB / 0.722 GB, free: 9.305 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004144/0.5413, allocations: 2.642 MB / 0.7245 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.5414, allocations: 15.83 kB / 0.7246 GB, free: 8.637 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.5414, allocations: 32.62 kB / 0.7246 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.5432, allocations: 1.377 MB / 0.7259 GB, free: 8.094 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.5432, allocations: 1.188 kB / 0.7259 GB, free: 8.094 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5432, allocations: 0 / 0.7259 GB, free: 8.094 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.5432, allocations: 3.938 kB / 0.7259 GB, free: 8.09 MB / 0.545 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.000898/0.5441, allocations: 0.5026 MB / 0.7264 GB, free: 7.637 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.5442, allocations: 8.844 kB / 0.7264 GB, free: 7.637 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.5442, allocations: 37.41 kB / 0.7265 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.5446, allocations: 26.75 kB / 0.7265 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.433e-05/0.5447, allocations: 166.6 kB / 0.7267 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.088e-05/0.5447, allocations: 29.42 kB / 0.7267 GB, free: 7.352 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.5448, allocations: 12.97 kB / 0.7267 GB, free: 7.344 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.5451, allocations: 120.1 kB / 0.7268 GB, free: 7.262 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.5451, allocations: 0 / 0.7268 GB, free: 7.262 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.5451, allocations: 9.312 kB / 0.7268 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5451, allocations: 1.438 kB / 0.7268 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.5454, allocations: 112.7 kB / 0.7269 GB, free: 7.203 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.0004092/0.5458, allocations: 380.5 kB / 0.7273 GB, free: 6.805 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.5461, allocations: 123.5 kB / 0.7274 GB, free: 6.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.5462, allocations: 60.08 kB / 0.7275 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/0.5575, allocations: 4.198 MB / 0.7316 GB, free: 3.988 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.5576, allocations: 33.44 kB / 0.7316 GB, free: 3.949 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.865e-06/0.5576, allocations: 0 / 0.7316 GB, free: 3.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.000458/0.558, allocations: 170.4 kB / 0.7318 GB, free: 3.852 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.5581, allocations: 57.34 kB / 0.7318 GB, free: 3.785 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.914e-05/0.5581, allocations: 107.1 kB / 0.7319 GB, free: 3.676 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.5582, allocations: 25.7 kB / 0.7319 GB, free: 3.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.5582, allocations: 87.11 kB / 0.732 GB, free: 3.559 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.5582, allocations: 44.42 kB / 0.7321 GB, free: 3.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.5583, allocations: 34.33 kB / 0.7321 GB, free: 3.488 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.69e-05/0.5584, allocations: 318.8 kB / 0.7324 GB, free: 3.168 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.376e-05/0.5584, allocations: 24.83 kB / 0.7324 GB, free: 3.156 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.032e-05/0.5585, allocations: 27.2 kB / 0.7325 GB, free: 3.145 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.982e-05/0.5586, allocations: 69.78 kB / 0.7325 GB, free: 3.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.5586, allocations: 0 / 0.7325 GB, free: 3.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001699/0.5588, allocations: 107.1 kB / 0.7326 GB, free: 3.039 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.5588, allocations: 5 kB / 0.7326 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5588, allocations: 0 / 0.7326 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.5588, allocations: 6.219 kB / 0.7326 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.5589, allocations: 19.23 kB / 0.7327 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.5589, allocations: 2.656 kB / 0.7327 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.559, allocations: 9.344 kB / 0.7327 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.559, allocations: 10.69 kB / 0.7327 GB, free: 3.016 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 6.663e-05/0.5591, allocations: 115.2 kB / 0.7328 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.5591, allocations: 2.688 kB / 0.7328 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/0.5596, allocations: 380.5 kB / 0.7332 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.5596, allocations: 9.859 kB / 0.7332 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5596, allocations: 3.984 kB / 0.7332 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.5596, allocations: 5.781 kB / 0.7332 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.5599, allocations: 272.9 kB / 0.7334 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5599, allocations: 0 / 0.7334 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.746e-05/0.56, allocations: 20.77 kB / 0.7335 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.56, allocations: 1.188 kB / 0.7335 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.56, allocations: 5.469 kB / 0.7335 GB, free: 2.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.56, allocations: 4.656 kB / 0.7335 GB, free: 2.371 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.56, allocations: 0 / 0.7335 GB, free: 2.371 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.5603, allocations: 339.3 kB / 0.7338 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.5604, allocations: 104 kB / 0.7339 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.5604, allocations: 0 / 0.7339 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.5606, allocations: 15.48 kB / 0.7339 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.5606, allocations: 7.578 kB / 0.7339 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.5606, allocations: 9.344 kB / 0.7339 GB, free: 1.992 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.678e-05/0.5606, allocations: 85.2 kB / 0.734 GB, free: 1.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5607, allocations: 4 kB / 0.734 GB, free: 1.906 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008379/0.5615, allocations: 299 kB / 0.7343 GB, free: 1.875 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.001633/0.5631, allocations: 1.14 MB / 0.7354 GB, free: 1.031 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.5634, allocations: 135.8 kB / 0.7355 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5634, allocations: 0 / 0.7355 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.5635, allocations: 115.3 kB / 0.7356 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.5638, allocations: 28.75 kB / 0.7357 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.5646, allocations: 434.8 kB / 0.7361 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.5649, allocations: 0.7129 MB / 0.7368 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.565, allocations: 33.08 kB / 0.7368 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.5651, allocations: 39.02 kB / 0.7368 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.5651, allocations: 0 / 0.7368 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.5938, allocations: 11.61 MB / 0.7482 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/8.084, allocations: 7.969 kB / 0.7482 GB, free: 6.086 MB / 0.5606 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)