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.001744/0.001744, 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.002566/0.002565, allocations: 191.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.206/2.206, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003286/0.003286, allocations: 294.4 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.613/1.613, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 95.86 kB / 0.5953 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2512, allocations: 86.98 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.6418/0.8931, allocations: 135.6 MB / 0.8127 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007528/0.9006, allocations: 7.919 MB / 0.8204 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.9007, allocations: 0 / 0.8204 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.9009, allocations: 24.2 kB / 0.8204 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.013e-05/0.901, allocations: 20.62 kB / 0.8204 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003911/0.9049, allocations: 1.473 MB / 0.8219 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.905, allocations: 79.2 kB / 0.822 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.9051, allocations: 2.656 kB / 0.822 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.9052, allocations: 48.58 kB / 0.822 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.725e-05/0.9053, allocations: 32.34 kB / 0.822 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.9054, allocations: 2.844 kB / 0.822 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005112/0.9105, allocations: 2.642 MB / 0.8246 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.9105, allocations: 16.53 kB / 0.8246 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.892e-05/0.9106, allocations: 37.39 kB / 0.8247 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.9131, allocations: 1.375 MB / 0.826 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9132, allocations: 0 / 0.826 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.796e-06/0.9132, allocations: 0 / 0.826 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.9132, allocations: 5.156 kB / 0.826 GB, free: 1.66 MB / 0.5606 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.001232/0.9144, allocations: 498.4 kB / 0.8265 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.9145, allocations: 9.438 kB / 0.8265 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.9145, allocations: 39.97 kB / 0.8265 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/0.9149, allocations: 33.33 kB / 0.8266 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.915, allocations: 166.6 kB / 0.8267 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.075e-05/0.9151, allocations: 35.84 kB / 0.8268 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.9151, allocations: 10.97 kB / 0.8268 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.9155, allocations: 121.2 kB / 0.8269 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.9155, allocations: 0 / 0.8269 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.9155, allocations: 3.188 kB / 0.8269 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.9155, allocations: 2.438 kB / 0.8269 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.9158, allocations: 115.8 kB / 0.827 GB, free: 16.93 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.000481/0.9163, allocations: 386.8 kB / 0.8274 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.9166, allocations: 129.1 kB / 0.8275 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.508e-05/0.9167, allocations: 54.73 kB / 0.8276 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01214/0.9288, allocations: 4.206 MB / 0.8317 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.9289, allocations: 35.69 kB / 0.8317 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 2.344e-06/0.9289, allocations: 0 / 0.8317 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0005596/0.9295, allocations: 166.8 kB / 0.8319 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.9295, allocations: 52.72 kB / 0.8319 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.05e-05/0.9296, allocations: 100.8 kB / 0.832 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.9296, allocations: 31.17 kB / 0.832 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.9297, allocations: 85.23 kB / 0.8321 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.9297, allocations: 44.06 kB / 0.8322 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.9298, allocations: 28.23 kB / 0.8322 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.93, allocations: 320.2 kB / 0.8325 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.101e-05/0.93, allocations: 23.64 kB / 0.8325 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.9301, allocations: 32.39 kB / 0.8325 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.9303, allocations: 67.91 kB / 0.8326 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.9303, allocations: 4 kB / 0.8326 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002549/0.9305, allocations: 107.2 kB / 0.8327 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9306, allocations: 6.281 kB / 0.8327 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.9306, allocations: 1.562 kB / 0.8327 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.9306, allocations: 0 / 0.8327 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.9307, allocations: 24.89 kB / 0.8327 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.9308, allocations: 0 / 0.8327 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.622e-05/0.9308, allocations: 12.94 kB / 0.8328 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.9308, allocations: 3.094 kB / 0.8328 GB, free: 13.2 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 9.489e-05/0.9309, allocations: 117.2 kB / 0.8329 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.931, allocations: 12.25 kB / 0.8329 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/0.9314, allocations: 367.8 kB / 0.8332 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.9315, allocations: 10.67 kB / 0.8332 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.9315, allocations: 1.375 kB / 0.8332 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.9315, allocations: 7.938 kB / 0.8332 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.9318, allocations: 284 kB / 0.8335 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.9318, allocations: 0 / 0.8335 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.9319, allocations: 21.86 kB / 0.8335 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.9319, allocations: 0 / 0.8335 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.9319, allocations: 9.297 kB / 0.8335 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.9319, allocations: 1.375 kB / 0.8335 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9319, allocations: 3.984 kB / 0.8336 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.9323, allocations: 335.1 kB / 0.8339 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.9323, allocations: 102.8 kB / 0.834 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.9324, allocations: 5.734 kB / 0.834 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.9325, allocations: 5.938 kB / 0.834 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.9326, allocations: 9.141 kB / 0.834 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.9326, allocations: 12.44 kB / 0.834 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.9326, allocations: 82.14 kB / 0.8341 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9326, allocations: 0 / 0.8341 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001373/0.934, allocations: 306.1 kB / 0.8344 GB, free: 12.32 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.002433/0.9364, allocations: 1.161 MB / 0.8355 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.9368, allocations: 131.8 kB / 0.8356 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.9368, allocations: 1.125 kB / 0.8356 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.937, allocations: 114.5 kB / 0.8357 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.9373, allocations: 25.86 kB / 0.8358 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.9384, allocations: 425.6 kB / 0.8362 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.9387, allocations: 0.7127 MB / 0.8369 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.9388, allocations: 23.72 kB / 0.8369 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.9389, allocations: 39.27 kB / 0.8369 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of SimCode: time 8.91e-07/0.9389, allocations: 7.938 kB / 0.8369 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/0.976, allocations: 11.64 MB / 0.8483 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.49, allocations: 6.188 kB / 0.8483 GB, free: 4.48 MB / 0.5762 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)