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.001637/0.001637, allocations: 108 kB / 15.61 MB, free: 152 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.002203/0.002203, allocations: 197.7 kB / 16.53 MB, free: 6.66 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9516/0.9516, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 61.09 kB / 0.5054 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1388, allocations: 80.94 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.371/0.5099, allocations: 135.6 MB / 0.7169 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008796/0.5187, allocations: 7.907 MB / 0.7246 GB, free: 5.023 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.5188, allocations: 0 / 0.7246 GB, free: 5.023 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.519, allocations: 27.3 kB / 0.7246 GB, free: 5.008 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.696e-05/0.5191, allocations: 23.8 kB / 0.7246 GB, free: 4.992 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004137/0.5232, allocations: 1.473 MB / 0.7261 GB, free: 4.457 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.5234, allocations: 77.56 kB / 0.7262 GB, free: 4.426 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.5234, allocations: 3.188 kB / 0.7262 GB, free: 4.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.5235, allocations: 42.97 kB / 0.7262 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.212e-05/0.5236, allocations: 33.89 kB / 0.7262 GB, free: 4.395 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.5236, allocations: 3.812 kB / 0.7262 GB, free: 4.395 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004037/0.5277, allocations: 2.651 MB / 0.7288 GB, free: 3.727 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.5277, allocations: 19.7 kB / 0.7288 GB, free: 3.715 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.5278, allocations: 27.31 kB / 0.7289 GB, free: 3.703 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.5295, allocations: 1.375 MB / 0.7302 GB, free: 2.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5295, allocations: 0 / 0.7302 GB, free: 2.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5295, allocations: 1.406 kB / 0.7302 GB, free: 2.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.5295, allocations: 0 / 0.7302 GB, free: 2.93 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.0008969/0.5304, allocations: 0.4987 MB / 0.7307 GB, free: 2.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.5304, allocations: 9.906 kB / 0.7307 GB, free: 2.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.5305, allocations: 45.22 kB / 0.7307 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003405/0.5308, allocations: 22.78 kB / 0.7308 GB, free: 2.422 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.5309, allocations: 169.7 kB / 0.7309 GB, free: 2.219 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.897e-05/0.531, allocations: 30.86 kB / 0.731 GB, free: 2.188 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.531, allocations: 11.25 kB / 0.731 GB, free: 2.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.5314, allocations: 124.3 kB / 0.7311 GB, free: 2.094 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.5314, allocations: 3.938 kB / 0.7311 GB, free: 2.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.5314, allocations: 5.25 kB / 0.7311 GB, free: 2.086 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.5315, allocations: 1.469 kB / 0.7311 GB, free: 2.086 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.5317, allocations: 117.5 kB / 0.7312 GB, free: 2.031 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.0004792/0.5322, allocations: 380.2 kB / 0.7316 GB, free: 1.633 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.5325, allocations: 123.2 kB / 0.7317 GB, free: 1.559 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.049e-05/0.5326, allocations: 54.42 kB / 0.7317 GB, free: 1.527 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01163/0.5442, allocations: 4.198 MB / 0.7358 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.5443, allocations: 31.84 kB / 0.7359 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.5443, allocations: 4 kB / 0.7359 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004784/0.5448, allocations: 168 kB / 0.736 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.5448, allocations: 53.69 kB / 0.7361 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.899e-05/0.5449, allocations: 98.42 kB / 0.7362 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.5449, allocations: 26.8 kB / 0.7362 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.5449, allocations: 89.59 kB / 0.7363 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.545, allocations: 47.83 kB / 0.7363 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.545, allocations: 27.38 kB / 0.7364 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.5451, allocations: 324.1 kB / 0.7367 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.988e-05/0.5452, allocations: 25.27 kB / 0.7367 GB, free: 14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-05/0.5452, allocations: 30.86 kB / 0.7367 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.5454, allocations: 61.89 kB / 0.7368 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5454, allocations: 0 / 0.7368 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001794/0.5456, allocations: 110 kB / 0.7369 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.5456, allocations: 5.406 kB / 0.7369 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.5456, allocations: 0 / 0.7369 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.5456, allocations: 4.906 kB / 0.7369 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.5457, allocations: 29.08 kB / 0.7369 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.5457, allocations: 7.938 kB / 0.7369 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.275e-05/0.5458, allocations: 14.98 kB / 0.737 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.5458, allocations: 1.594 kB / 0.737 GB, free: 13.85 MB / 0.5606 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 7.441e-05/0.5459, allocations: 112.6 kB / 0.7371 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.546, allocations: 3.719 kB / 0.7371 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.5464, allocations: 376.9 kB / 0.7374 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.5464, allocations: 2.75 kB / 0.7374 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5464, allocations: 192 / 0.7374 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.5464, allocations: 9.297 kB / 0.7374 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.5467, allocations: 289.5 kB / 0.7377 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5467, allocations: 0 / 0.7377 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.5468, allocations: 21.86 kB / 0.7377 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5468, allocations: 0 / 0.7377 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.5468, allocations: 1.375 kB / 0.7377 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5468, allocations: 5.375 kB / 0.7377 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5468, allocations: 0 / 0.7377 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.5472, allocations: 340.8 kB / 0.7381 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.5472, allocations: 104.9 kB / 0.7382 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.5473, allocations: 0 / 0.7382 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.5474, allocations: 13.05 kB / 0.7382 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.5474, allocations: 8.453 kB / 0.7382 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.5475, allocations: 6.938 kB / 0.7382 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.382e-05/0.5475, allocations: 85.56 kB / 0.7383 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5475, allocations: 0 / 0.7383 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008425/0.5484, allocations: 305.4 kB / 0.7386 GB, free: 12.71 MB / 0.5606 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.001581/0.5499, allocations: 1.149 MB / 0.7397 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.5502, allocations: 130.4 kB / 0.7398 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5502, allocations: 4 kB / 0.7398 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.5503, allocations: 110.5 kB / 0.7399 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.5506, allocations: 21.16 kB / 0.7399 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008298/0.5515, allocations: 434.6 kB / 0.7404 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.5517, allocations: 0.7154 MB / 0.7411 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.5518, allocations: 39.25 kB / 0.7411 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.5519, allocations: 36.36 kB / 0.7411 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5519, allocations: 0 / 0.7411 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.5826, allocations: 11.62 MB / 0.7525 GB, free: 152 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.535/8.118, allocations: 0 / 0.7525 GB, free: 152 kB / 0.5606 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)