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.007684/0.007684, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.001976/0.001976, allocations: 202.3 kB / 16.68 MB, free: 5.961 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8322/0.8322, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 63.91 kB / 0.5808 GB, free: 8.086 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3606, allocations: 80.2 MB / 0.6592 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1574/0.518, allocations: 135.6 MB / 0.7916 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00972/0.5278, allocations: 7.927 MB / 0.7993 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/0.5279, allocations: 0 / 0.7993 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.5281, allocations: 23.91 kB / 0.7993 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.5282, allocations: 19.78 kB / 0.7994 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.532, allocations: 1.467 MB / 0.8008 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.5321, allocations: 75.64 kB / 0.8009 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.5322, allocations: 7.984 kB / 0.8009 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.5323, allocations: 39.84 kB / 0.8009 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.973e-05/0.5324, allocations: 35.84 kB / 0.801 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.5324, allocations: 4 kB / 0.801 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004565/0.537, allocations: 2.708 MB / 0.8036 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.537, allocations: 19.97 kB / 0.8036 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.5371, allocations: 27.86 kB / 0.8036 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.5391, allocations: 1.385 MB / 0.805 GB, free: 364 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5391, allocations: 0 / 0.805 GB, free: 364 kB / 0.6231 GB Notification: Performance of FrontEnd: time 3.587e-06/0.5391, allocations: 3.984 kB / 0.805 GB, free: 360 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5391, allocations: 0 / 0.805 GB, free: 360 kB / 0.6231 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.0009667/0.5401, allocations: 0.4944 MB / 0.8055 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.5401, allocations: 8.031 kB / 0.8055 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/0.5402, allocations: 46.73 kB / 0.8055 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003515/0.5405, allocations: 24.88 kB / 0.8056 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.5407, allocations: 172.3 kB / 0.8057 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/0.5408, allocations: 38 kB / 0.8058 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.5408, allocations: 8 kB / 0.8058 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.5411, allocations: 116.1 kB / 0.8059 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.5411, allocations: 0 / 0.8059 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.5412, allocations: 4 kB / 0.8059 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.5412, allocations: 0 / 0.8059 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.5415, allocations: 123.8 kB / 0.806 GB, free: 15.22 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.0004936/0.542, allocations: 376.1 kB / 0.8064 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.5423, allocations: 126.6 kB / 0.8065 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.846e-05/0.5423, allocations: 48.84 kB / 0.8065 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0115/0.5538, allocations: 4.222 MB / 0.8107 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.5539, allocations: 38.55 kB / 0.8107 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.5539, allocations: 7.938 kB / 0.8107 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0004859/0.5544, allocations: 161.6 kB / 0.8108 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.5545, allocations: 55.41 kB / 0.8109 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.5545, allocations: 101.8 kB / 0.811 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.5546, allocations: 25.7 kB / 0.811 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.5546, allocations: 88.12 kB / 0.8111 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.5547, allocations: 51.56 kB / 0.8112 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.5547, allocations: 29.66 kB / 0.8112 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5549, allocations: 318.8 kB / 0.8115 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/0.555, allocations: 27.98 kB / 0.8115 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.706e-05/0.555, allocations: 27.23 kB / 0.8115 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.5551, allocations: 68.8 kB / 0.8116 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5551, allocations: 0 / 0.8116 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001852/0.5553, allocations: 109.6 kB / 0.8117 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5553, allocations: 5.406 kB / 0.8117 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.5554, allocations: 0 / 0.8117 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.5554, allocations: 7.984 kB / 0.8117 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.5555, allocations: 20 kB / 0.8117 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.5555, allocations: 11.94 kB / 0.8118 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.5556, allocations: 11.86 kB / 0.8118 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.5556, allocations: 4 kB / 0.8118 GB, free: 8.855 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.535e-05/0.5557, allocations: 113.8 kB / 0.8119 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.5557, allocations: 7.953 kB / 0.8119 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004819/0.5562, allocations: 375.8 kB / 0.8122 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.5562, allocations: 0 / 0.8122 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.5563, allocations: 7.969 kB / 0.8123 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.5563, allocations: 7.938 kB / 0.8123 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.5566, allocations: 289.4 kB / 0.8125 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5566, allocations: 0 / 0.8125 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-05/0.5567, allocations: 19.98 kB / 0.8126 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5567, allocations: 0 / 0.8126 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5567, allocations: 4 kB / 0.8126 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5567, allocations: 0 / 0.8126 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5567, allocations: 0 / 0.8126 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.5571, allocations: 335 kB / 0.8129 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.673e-05/0.5572, allocations: 112.9 kB / 0.813 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.5572, allocations: 3.938 kB / 0.813 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.5574, allocations: 11.98 kB / 0.813 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.5574, allocations: 11.92 kB / 0.813 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.5574, allocations: 4 kB / 0.813 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.951e-05/0.5575, allocations: 75.28 kB / 0.8131 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.043e-06/0.5575, allocations: 0 / 0.8131 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007335/0.5582, allocations: 307.6 kB / 0.8134 GB, free: 7.109 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.001752/0.56, allocations: 1.145 MB / 0.8145 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.5602, allocations: 123.9 kB / 0.8146 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5602, allocations: 0 / 0.8146 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.5604, allocations: 115.9 kB / 0.8147 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.5606, allocations: 23.92 kB / 0.8148 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.5615, allocations: 429.5 kB / 0.8152 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.5618, allocations: 0.7127 MB / 0.8159 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.562, allocations: 40.27 kB / 0.8159 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.562, allocations: 35.42 kB / 0.8159 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of SimCode: time 2.61e-07/0.562, allocations: 3.938 kB / 0.8159 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/0.5977, allocations: 11.61 MB / 0.8273 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.252/8.85, allocations: 11.98 kB / 0.8273 GB, free: 8.891 MB / 0.6544 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)