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.006128/0.006128, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001257/0.001257, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8114/0.8114, allocations: 132.2 MB / 422.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 65.61 kB / 0.5808 GB, free: 24.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.141, allocations: 80.2 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4813/0.6224, allocations: 135.6 MB / 0.7916 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008463/0.6309, allocations: 7.924 MB / 0.7993 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.631, allocations: 1.094 kB / 0.7993 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.6312, allocations: 28.67 kB / 0.7993 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.962e-05/0.6312, allocations: 22.27 kB / 0.7994 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004258/0.6355, allocations: 1.457 MB / 0.8008 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.6356, allocations: 74.17 kB / 0.8009 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.6357, allocations: 17.17 kB / 0.8009 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.6358, allocations: 41.94 kB / 0.8009 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.337e-05/0.6359, allocations: 41.25 kB / 0.8009 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.636, allocations: 4.125 kB / 0.801 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00416/0.6401, allocations: 2.7 MB / 0.8036 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.6402, allocations: 12.11 kB / 0.8036 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.6402, allocations: 38.23 kB / 0.8036 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.6422, allocations: 1.383 MB / 0.805 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.6423, allocations: 2.531 kB / 0.805 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6423, allocations: 4 kB / 0.805 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.6423, allocations: 0 / 0.805 GB, free: 11.73 MB / 0.5919 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.0009495/0.6432, allocations: 0.5032 MB / 0.8055 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.6433, allocations: 10.09 kB / 0.8055 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.6433, allocations: 37.25 kB / 0.8055 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000355/0.6437, allocations: 21.12 kB / 0.8056 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.6438, allocations: 169.9 kB / 0.8057 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.538e-05/0.6439, allocations: 31.92 kB / 0.8057 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.6439, allocations: 17.58 kB / 0.8058 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.6443, allocations: 121.4 kB / 0.8059 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.6443, allocations: 3.938 kB / 0.8059 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.6443, allocations: 5.438 kB / 0.8059 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.6443, allocations: 0 / 0.8059 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.6446, allocations: 113.4 kB / 0.806 GB, free: 10.9 MB / 0.5919 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.0004456/0.645, allocations: 385.8 kB / 0.8064 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.6453, allocations: 118.6 kB / 0.8065 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.618e-05/0.6454, allocations: 59.77 kB / 0.8065 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01171/0.6571, allocations: 4.224 MB / 0.8107 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.6572, allocations: 32.94 kB / 0.8107 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.6572, allocations: 0 / 0.8107 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005437/0.6577, allocations: 165.6 kB / 0.8108 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.6578, allocations: 55.41 kB / 0.8109 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.649e-05/0.6579, allocations: 98.91 kB / 0.811 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.6579, allocations: 33.2 kB / 0.811 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.6579, allocations: 82.86 kB / 0.8111 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.658, allocations: 47.05 kB / 0.8111 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.658, allocations: 28.2 kB / 0.8112 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6582, allocations: 320.4 kB / 0.8115 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.567e-05/0.6582, allocations: 27.83 kB / 0.8115 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.264e-05/0.6583, allocations: 26.14 kB / 0.8115 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.958e-05/0.6584, allocations: 68.34 kB / 0.8116 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6584, allocations: 4 kB / 0.8116 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001722/0.6585, allocations: 114.3 kB / 0.8117 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.6586, allocations: 5.312 kB / 0.8117 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6586, allocations: 0 / 0.8117 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.6586, allocations: 2.438 kB / 0.8117 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.6587, allocations: 25.36 kB / 0.8117 GB, free: 7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.6587, allocations: 0 / 0.8117 GB, free: 7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.6588, allocations: 10.66 kB / 0.8118 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.6588, allocations: 5.875 kB / 0.8118 GB, free: 6.992 MB / 0.5919 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.047e-05/0.6589, allocations: 119.4 kB / 0.8119 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.659, allocations: 6.672 kB / 0.8119 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.6594, allocations: 376.5 kB / 0.8122 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.6594, allocations: 9.203 kB / 0.8122 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6594, allocations: 0.875 kB / 0.8122 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.6595, allocations: 6.562 kB / 0.8123 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.6597, allocations: 273.3 kB / 0.8125 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6597, allocations: 2.688 kB / 0.8125 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.6598, allocations: 22.58 kB / 0.8125 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.6599, allocations: 2.5 kB / 0.8125 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.6599, allocations: 10.36 kB / 0.8125 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.6599, allocations: 1.906 kB / 0.8126 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6599, allocations: 0 / 0.8126 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.6602, allocations: 338.5 kB / 0.8129 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-05/0.6603, allocations: 100.9 kB / 0.813 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.6604, allocations: 7.984 kB / 0.813 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.6605, allocations: 2.281 kB / 0.813 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.6605, allocations: 21.22 kB / 0.813 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.6606, allocations: 8.781 kB / 0.813 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.6606, allocations: 81.86 kB / 0.8131 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.745e-06/0.6606, allocations: 0 / 0.8131 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001064/0.6617, allocations: 308.3 kB / 0.8134 GB, free: 6.039 MB / 0.5919 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.00193/0.6636, allocations: 1.141 MB / 0.8145 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.6639, allocations: 127.3 kB / 0.8146 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6639, allocations: 0 / 0.8146 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.664, allocations: 108.7 kB / 0.8147 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.6643, allocations: 30.92 kB / 0.8148 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008775/0.6652, allocations: 428.1 kB / 0.8152 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.6655, allocations: 0.7182 MB / 0.8159 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000104/0.6656, allocations: 32.05 kB / 0.8159 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.6657, allocations: 38.23 kB / 0.8159 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.6657, allocations: 0 / 0.8159 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.6968, allocations: 11.61 MB / 0.8273 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.479, allocations: 13.3 kB / 0.8273 GB, free: 13.96 MB / 0.6075 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)