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.007845/0.007844, allocations: 104.7 kB / 15.74 MB, free: 6.02 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.002054/0.002054, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00248/0.00248, allocations: 293.2 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.199/1.199, allocations: 178.6 MB / 0.5074 GB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002738/0.002738, allocations: 95.83 kB / 0.6943 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3856, allocations: 89.13 MB / 0.7813 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1573/0.5429, allocations: 135.5 MB / 0.9137 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009514/0.5524, allocations: 7.938 MB / 0.9214 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.5525, allocations: 0 / 0.9214 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.5527, allocations: 19.84 kB / 0.9214 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/0.5528, allocations: 19.84 kB / 0.9215 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.5563, allocations: 1.467 MB / 0.9229 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.5565, allocations: 71.66 kB / 0.923 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.5565, allocations: 7.984 kB / 0.923 GB, free: 7.137 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.5567, allocations: 39.84 kB / 0.923 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 8.989e-05/0.5568, allocations: 39.83 kB / 0.9231 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.5568, allocations: 8 kB / 0.9231 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004685/0.5615, allocations: 2.7 MB / 0.9257 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.5615, allocations: 11.92 kB / 0.9257 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.165e-05/0.5616, allocations: 35.84 kB / 0.9257 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.5637, allocations: 1.376 MB / 0.9271 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5637, allocations: 0 / 0.9271 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.416e-06/0.5637, allocations: 0 / 0.9271 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.5637, allocations: 3.938 kB / 0.9271 GB, free: 2.918 MB / 0.6856 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.0009807/0.5647, allocations: 0.4945 MB / 0.9276 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.5648, allocations: 8.031 kB / 0.9276 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.5648, allocations: 42.69 kB / 0.9276 GB, free: 2.316 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003607/0.5652, allocations: 24.86 kB / 0.9276 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.5653, allocations: 168.3 kB / 0.9278 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.151e-05/0.5654, allocations: 38.02 kB / 0.9278 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.5654, allocations: 4 kB / 0.9278 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.5658, allocations: 125.5 kB / 0.928 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.5658, allocations: 0 / 0.928 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.5658, allocations: 4 kB / 0.928 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.5659, allocations: 3.984 kB / 0.928 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.5662, allocations: 123.8 kB / 0.9281 GB, free: 1.785 MB / 0.6856 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.0005388/0.5667, allocations: 380.1 kB / 0.9285 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.567, allocations: 122.6 kB / 0.9286 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.504e-05/0.5671, allocations: 52.83 kB / 0.9286 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01239/0.5795, allocations: 4.226 MB / 0.9327 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.5796, allocations: 46.5 kB / 0.9328 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.5796, allocations: 0 / 0.9328 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.0005813/0.5802, allocations: 164.5 kB / 0.9329 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.5802, allocations: 55.41 kB / 0.933 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.5803, allocations: 101.8 kB / 0.9331 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.5803, allocations: 29.7 kB / 0.9331 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.5804, allocations: 84.14 kB / 0.9332 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.5804, allocations: 39.64 kB / 0.9332 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.5805, allocations: 33.7 kB / 0.9333 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5807, allocations: 314.8 kB / 0.9336 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.241e-05/0.5807, allocations: 27.98 kB / 0.9336 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-05/0.5808, allocations: 27.92 kB / 0.9336 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.5809, allocations: 68.84 kB / 0.9337 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.5809, allocations: 0 / 0.9337 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002037/0.5811, allocations: 110.9 kB / 0.9338 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.5811, allocations: 6.969 kB / 0.9338 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.5811, allocations: 0 / 0.9338 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5812, allocations: 8 kB / 0.9338 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.5813, allocations: 27.86 kB / 0.9338 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.5813, allocations: 0 / 0.9338 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/0.5814, allocations: 15.83 kB / 0.9339 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.5814, allocations: 4 kB / 0.9339 GB, free: 11.41 MB / 0.7012 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.849e-05/0.5815, allocations: 117.8 kB / 0.934 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.5815, allocations: 4 kB / 0.934 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004944/0.582, allocations: 368 kB / 0.9343 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.5821, allocations: 3.984 kB / 0.9343 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5821, allocations: 4 kB / 0.9343 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5821, allocations: 3.938 kB / 0.9343 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.5824, allocations: 289.1 kB / 0.9346 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5824, allocations: 7.984 kB / 0.9346 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.5825, allocations: 20 kB / 0.9346 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5826, allocations: 0 / 0.9346 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.5826, allocations: 7.984 kB / 0.9347 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5826, allocations: 0 / 0.9347 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5826, allocations: 0 / 0.9347 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.583, allocations: 339.8 kB / 0.935 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 8.154e-05/0.5831, allocations: 104.9 kB / 0.9351 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.5831, allocations: 4 kB / 0.9351 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.5832, allocations: 4 kB / 0.9351 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.5833, allocations: 15.92 kB / 0.9351 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.5833, allocations: 7.984 kB / 0.9351 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.465e-05/0.5833, allocations: 79.31 kB / 0.9352 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5834, allocations: 0 / 0.9352 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007621/0.5841, allocations: 307.7 kB / 0.9355 GB, free: 9.664 MB / 0.7012 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.001851/0.586, allocations: 1.149 MB / 0.9366 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.5862, allocations: 122.8 kB / 0.9367 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.5862, allocations: 0 / 0.9367 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.5864, allocations: 111.9 kB / 0.9368 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.5867, allocations: 38.42 kB / 0.9369 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009534/0.5877, allocations: 425.6 kB / 0.9373 GB, free: 7.766 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.5881, allocations: 0.7127 MB / 0.938 GB, free: 7.027 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.5882, allocations: 28.41 kB / 0.938 GB, free: 7 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.5883, allocations: 35.42 kB / 0.938 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of SimCode: time 2.6e-07/0.5883, allocations: 0 / 0.938 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0389/0.6272, allocations: 11.63 MB / 0.9494 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.805, allocations: 17.48 kB / 0.9494 GB, free: 11.42 MB / 0.7169 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)