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.007431/0.007431, allocations: 101.8 kB / 15.73 MB, free: 6.496 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.001906/0.001906, allocations: 200.5 kB / 16.68 MB, free: 6.367 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9799/0.9799, allocations: 135.5 MB / 426.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002067, allocations: 59.91 kB / 0.5857 GB, free: 3.238 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.402, allocations: 81.03 MB / 0.6649 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1639/0.566, allocations: 135.6 MB / 0.7973 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.5761, allocations: 7.935 MB / 0.805 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.5762, allocations: 0 / 0.805 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.5764, allocations: 15.91 kB / 0.805 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.769e-05/0.5765, allocations: 23.78 kB / 0.805 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003953/0.5805, allocations: 1.46 MB / 0.8065 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.5806, allocations: 71.55 kB / 0.8065 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.5807, allocations: 11.97 kB / 0.8066 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.5808, allocations: 43.84 kB / 0.8066 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.5809, allocations: 39.83 kB / 0.8066 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.581, allocations: 4 kB / 0.8066 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00566/0.5866, allocations: 2.712 MB / 0.8093 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.5867, allocations: 7.984 kB / 0.8093 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.427e-05/0.5868, allocations: 35.84 kB / 0.8093 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003206/0.59, allocations: 1.373 MB / 0.8107 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.59, allocations: 0 / 0.8107 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.924e-06/0.59, allocations: 4 kB / 0.8107 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.59, allocations: 0 / 0.8107 GB, free: 11.08 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.001378/0.5914, allocations: 0.5061 MB / 0.8112 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.5915, allocations: 8.031 kB / 0.8112 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.047e-05/0.5915, allocations: 42.73 kB / 0.8112 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004084/0.592, allocations: 20.92 kB / 0.8112 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.5921, allocations: 176.2 kB / 0.8114 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.905e-05/0.5922, allocations: 42 kB / 0.8114 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.5922, allocations: 4 kB / 0.8114 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.5927, allocations: 117.5 kB / 0.8116 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.5927, allocations: 4 kB / 0.8116 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.5927, allocations: 4 kB / 0.8116 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5927, allocations: 0 / 0.8116 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.5931, allocations: 119.8 kB / 0.8117 GB, free: 9.938 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.0005645/0.5936, allocations: 380.1 kB / 0.812 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.5939, allocations: 126.6 kB / 0.8122 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.763e-05/0.594, allocations: 52.84 kB / 0.8122 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/0.6063, allocations: 4.222 MB / 0.8163 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.6063, allocations: 34.56 kB / 0.8164 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.6064, allocations: 0 / 0.8164 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0005489/0.6069, allocations: 176.1 kB / 0.8165 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.607, allocations: 55.41 kB / 0.8166 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.6071, allocations: 109.7 kB / 0.8167 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.6071, allocations: 25.7 kB / 0.8167 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.6072, allocations: 88.12 kB / 0.8168 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.6072, allocations: 43.64 kB / 0.8168 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.6073, allocations: 29.72 kB / 0.8169 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6074, allocations: 318.8 kB / 0.8172 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-05/0.6075, allocations: 23.98 kB / 0.8172 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.018e-05/0.6076, allocations: 27.98 kB / 0.8172 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.6077, allocations: 64.8 kB / 0.8173 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6077, allocations: 0 / 0.8173 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002068/0.6079, allocations: 115 kB / 0.8174 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.6079, allocations: 4 kB / 0.8174 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.6079, allocations: 4 kB / 0.8174 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.608, allocations: 0 / 0.8174 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.6081, allocations: 19.98 kB / 0.8174 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.6081, allocations: 4 kB / 0.8174 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.6082, allocations: 15.86 kB / 0.8174 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.6082, allocations: 7.938 kB / 0.8175 GB, free: 3.566 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 9.583e-05/0.6083, allocations: 113.8 kB / 0.8176 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.6084, allocations: 3.953 kB / 0.8176 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.6089, allocations: 364.4 kB / 0.8179 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.6089, allocations: 8 kB / 0.8179 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6089, allocations: 0 / 0.8179 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.609, allocations: 7.922 kB / 0.8179 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.6093, allocations: 285.1 kB / 0.8182 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.6093, allocations: 0 / 0.8182 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.6094, allocations: 27.92 kB / 0.8182 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6094, allocations: 0 / 0.8182 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.6094, allocations: 8 kB / 0.8182 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.6095, allocations: 0 / 0.8182 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6095, allocations: 0 / 0.8182 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.6099, allocations: 335.1 kB / 0.8186 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.617e-05/0.61, allocations: 108.9 kB / 0.8187 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.61, allocations: 0 / 0.8187 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.6102, allocations: 11.98 kB / 0.8187 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.6102, allocations: 15.86 kB / 0.8187 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.6102, allocations: 11.94 kB / 0.8187 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.6103, allocations: 79.28 kB / 0.8188 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6103, allocations: 4 kB / 0.8188 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008992/0.6112, allocations: 299.7 kB / 0.8191 GB, free: 1.824 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.002103/0.6133, allocations: 1.153 MB / 0.8202 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.6135, allocations: 127.9 kB / 0.8203 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6136, allocations: 0 / 0.8203 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.6137, allocations: 111.9 kB / 0.8204 GB, free: 416 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.614, allocations: 19.92 kB / 0.8204 GB, free: 396 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009772/0.615, allocations: 433.5 kB / 0.8208 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.6154, allocations: 0.7166 MB / 0.8215 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000119/0.6155, allocations: 36.22 kB / 0.8216 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.6156, allocations: 39.42 kB / 0.8216 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.6156, allocations: 0 / 0.8216 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03701/0.6526, allocations: 11.61 MB / 0.833 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/8.921, allocations: 4.219 kB / 0.833 GB, free: 3.582 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)