Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.001525/0.001525, 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.001499/0.001499, allocations: 190.4 kB / 16.53 MB, free: 6.391 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002471/0.002471, allocations: 290.1 kB / 290.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 178.6 MB / 0.5073 GB, free: 4.543 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002609/0.002609, allocations: 98 kB / 0.6065 GB, free: 24.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1407, allocations: 89.15 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3888/0.5296, allocations: 135.5 MB / 0.826 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008924/0.5385, allocations: 7.921 MB / 0.8337 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.5386, allocations: 1.25 kB / 0.8337 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.5388, allocations: 27.72 kB / 0.8337 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.066e-05/0.5388, allocations: 14.23 kB / 0.8337 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.5421, allocations: 1.471 MB / 0.8352 GB, free: 32 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.5422, allocations: 75.8 kB / 0.8352 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.5422, allocations: 3.531 kB / 0.8352 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.5424, allocations: 49.28 kB / 0.8353 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.403e-05/0.5424, allocations: 28.47 kB / 0.8353 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.5425, allocations: 2.812 kB / 0.8353 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003852/0.5463, allocations: 2.642 MB / 0.8379 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.5464, allocations: 18.53 kB / 0.8379 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.5464, allocations: 33.11 kB / 0.8379 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.548, allocations: 1.373 MB / 0.8393 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5481, allocations: 4 kB / 0.8393 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5481, allocations: 1.375 kB / 0.8393 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.5481, allocations: 0 / 0.8393 GB, free: 13.68 MB / 0.5762 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.0008878/0.549, allocations: 0.4923 MB / 0.8398 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.549, allocations: 9.625 kB / 0.8398 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.5491, allocations: 40.06 kB / 0.8398 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/0.5494, allocations: 22.58 kB / 0.8398 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.5495, allocations: 175 kB / 0.84 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.66e-05/0.5496, allocations: 37.02 kB / 0.84 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.5496, allocations: 9.438 kB / 0.8401 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.55, allocations: 120.2 kB / 0.8402 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.55, allocations: 0 / 0.8402 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.55, allocations: 5.375 kB / 0.8402 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.55, allocations: 1.375 kB / 0.8402 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.5503, allocations: 120.3 kB / 0.8403 GB, free: 12.78 MB / 0.5762 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.0004825/0.5508, allocations: 384.6 kB / 0.8407 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.551, allocations: 120.1 kB / 0.8408 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.003e-05/0.5511, allocations: 53.27 kB / 0.8408 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.5622, allocations: 4.202 MB / 0.8449 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.5622, allocations: 37 kB / 0.845 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 3.036e-06/0.5622, allocations: 3.984 kB / 0.845 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.000471/0.5627, allocations: 164.9 kB / 0.8451 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.5628, allocations: 51.41 kB / 0.8452 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.038e-05/0.5628, allocations: 98.7 kB / 0.8453 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.5629, allocations: 27.95 kB / 0.8453 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.5629, allocations: 84.14 kB / 0.8454 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.563, allocations: 53.17 kB / 0.8454 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.563, allocations: 31.05 kB / 0.8455 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5632, allocations: 322.8 kB / 0.8458 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.5632, allocations: 25.05 kB / 0.8458 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-05/0.5633, allocations: 26.47 kB / 0.8458 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.5634, allocations: 73.88 kB / 0.8459 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5634, allocations: 3.938 kB / 0.8459 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001788/0.5636, allocations: 106.3 kB / 0.846 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.5636, allocations: 8.875 kB / 0.846 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5636, allocations: 2.531 kB / 0.846 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.5636, allocations: 0 / 0.846 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.5638, allocations: 26.05 kB / 0.846 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.5638, allocations: 0 / 0.846 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.5638, allocations: 3.938 kB / 0.846 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.5638, allocations: 12.8 kB / 0.846 GB, free: 8.59 MB / 0.5762 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.958e-05/0.5639, allocations: 111.9 kB / 0.8461 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.564, allocations: 6.812 kB / 0.8461 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/0.5644, allocations: 368.8 kB / 0.8465 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.5645, allocations: 7 kB / 0.8465 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5645, allocations: 3.938 kB / 0.8465 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.5645, allocations: 9.734 kB / 0.8465 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.5648, allocations: 277.1 kB / 0.8468 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5648, allocations: 6.188 kB / 0.8468 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.232e-05/0.5649, allocations: 20.95 kB / 0.8468 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5649, allocations: 3.031 kB / 0.8468 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.5649, allocations: 4 kB / 0.8468 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5649, allocations: 3.938 kB / 0.8468 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5649, allocations: 2.719 kB / 0.8468 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.5652, allocations: 329.7 kB / 0.8471 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.609e-05/0.5653, allocations: 108.5 kB / 0.8472 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.5654, allocations: 4 kB / 0.8472 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.5655, allocations: 5.781 kB / 0.8472 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.5655, allocations: 9.703 kB / 0.8473 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.5655, allocations: 12.58 kB / 0.8473 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.5656, allocations: 82 kB / 0.8473 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5656, allocations: 0 / 0.8473 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006824/0.5663, allocations: 298.5 kB / 0.8476 GB, free: 7.461 MB / 0.5762 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.001636/0.5679, allocations: 1.161 MB / 0.8488 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.5682, allocations: 130.4 kB / 0.8489 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5682, allocations: 0 / 0.8489 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.5683, allocations: 107.7 kB / 0.849 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.5686, allocations: 24.88 kB / 0.849 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008383/0.5694, allocations: 429.8 kB / 0.8494 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.5698, allocations: 0.7209 MB / 0.8501 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.5699, allocations: 27.44 kB / 0.8502 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.767e-05/0.5699, allocations: 38.8 kB / 0.8502 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.5699, allocations: 0 / 0.8502 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/0.6031, allocations: 11.63 MB / 0.8616 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/8.279, allocations: 14.89 kB / 0.8616 GB, free: 14.86 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)