Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.005651/0.005651, allocations: 99.27 kB / 15.73 MB, free: 6.445 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.001505/0.001505, allocations: 194.5 kB / 16.67 MB, free: 6.348 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.029/1.029, allocations: 143.3 MB / 433.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 63.91 kB / 0.5953 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4188, allocations: 82.03 MB / 0.6754 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1604/0.5793, allocations: 135.6 MB / 0.8078 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.5896, allocations: 7.919 MB / 0.8155 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.5897, allocations: 4 kB / 0.8155 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.5899, allocations: 19.84 kB / 0.8156 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.552e-05/0.59, allocations: 19.84 kB / 0.8156 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003841/0.5938, allocations: 1.459 MB / 0.817 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.594, allocations: 71.59 kB / 0.8171 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.594, allocations: 14.05 kB / 0.8171 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.5942, allocations: 47.84 kB / 0.8171 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.5943, allocations: 35.89 kB / 0.8172 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.5943, allocations: 0 / 0.8172 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004823/0.5991, allocations: 2.704 MB / 0.8198 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.5992, allocations: 15.92 kB / 0.8198 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.5992, allocations: 31.86 kB / 0.8199 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.6016, allocations: 1.38 MB / 0.8212 GB, free: 412 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6016, allocations: 0 / 0.8212 GB, free: 412 kB / 0.6387 GB Notification: Performance of FrontEnd: time 3.887e-06/0.6016, allocations: 3.984 kB / 0.8212 GB, free: 408 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.6016, allocations: 0 / 0.8212 GB, free: 408 kB / 0.6387 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.001139/0.6028, allocations: 0.4906 MB / 0.8217 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6028, allocations: 19.97 kB / 0.8217 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.6029, allocations: 42.73 kB / 0.8217 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/0.6033, allocations: 32.86 kB / 0.8218 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.6034, allocations: 164.3 kB / 0.8219 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-05/0.6035, allocations: 38 kB / 0.822 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.6035, allocations: 8 kB / 0.822 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.6039, allocations: 120.4 kB / 0.8221 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.6039, allocations: 0 / 0.8221 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.6039, allocations: 7.938 kB / 0.8221 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.6039, allocations: 8 kB / 0.8221 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.6043, allocations: 111.9 kB / 0.8222 GB, free: 15.26 MB / 0.6544 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.0005761/0.6048, allocations: 380.7 kB / 0.8226 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.6051, allocations: 126.5 kB / 0.8227 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.6052, allocations: 52.22 kB / 0.8227 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01192/0.6172, allocations: 4.234 MB / 0.8269 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.6172, allocations: 34.55 kB / 0.8269 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 2.084e-06/0.6172, allocations: 4 kB / 0.8269 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0005501/0.6178, allocations: 165.6 kB / 0.8271 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.6178, allocations: 55.34 kB / 0.8271 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/0.6179, allocations: 101.8 kB / 0.8272 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.618, allocations: 29.7 kB / 0.8273 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.618, allocations: 84.12 kB / 0.8273 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/0.6181, allocations: 43.64 kB / 0.8274 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.6181, allocations: 25.72 kB / 0.8274 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.6183, allocations: 322.8 kB / 0.8277 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.145e-05/0.6183, allocations: 23.98 kB / 0.8277 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.046e-05/0.6184, allocations: 27.98 kB / 0.8278 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.6185, allocations: 64.86 kB / 0.8278 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6185, allocations: 0 / 0.8278 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000201/0.6187, allocations: 108 kB / 0.8279 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6187, allocations: 11.94 kB / 0.8279 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6188, allocations: 3.984 kB / 0.8279 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.6188, allocations: 0 / 0.8279 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.6189, allocations: 24 kB / 0.828 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.6189, allocations: 3.984 kB / 0.828 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.31e-05/0.619, allocations: 19.77 kB / 0.828 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.619, allocations: 0 / 0.828 GB, free: 8.895 MB / 0.6544 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.819e-05/0.6191, allocations: 113.8 kB / 0.8281 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.6191, allocations: 8 kB / 0.8281 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004941/0.6196, allocations: 380.6 kB / 0.8285 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.6197, allocations: 7.984 kB / 0.8285 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.6197, allocations: 4 kB / 0.8285 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.6197, allocations: 3.938 kB / 0.8285 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.62, allocations: 281.4 kB / 0.8287 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.62, allocations: 192 / 0.8287 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-05/0.6201, allocations: 19.98 kB / 0.8288 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.6201, allocations: 0 / 0.8288 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.6202, allocations: 11.98 kB / 0.8288 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.6202, allocations: 0 / 0.8288 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.6202, allocations: 0 / 0.8288 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.6206, allocations: 346.9 kB / 0.8291 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-05/0.6207, allocations: 104.9 kB / 0.8292 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.6207, allocations: 0 / 0.8292 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.6208, allocations: 11.98 kB / 0.8292 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.6209, allocations: 11.92 kB / 0.8292 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.6209, allocations: 4 kB / 0.8292 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.673e-05/0.6209, allocations: 83.28 kB / 0.8293 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6209, allocations: 0 / 0.8293 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008749/0.6218, allocations: 299.7 kB / 0.8296 GB, free: 7.137 MB / 0.6544 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.00206/0.6239, allocations: 1.161 MB / 0.8307 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.6241, allocations: 119.9 kB / 0.8308 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6241, allocations: 0 / 0.8308 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.6243, allocations: 112 kB / 0.831 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.6246, allocations: 23.92 kB / 0.831 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009483/0.6256, allocations: 437.5 kB / 0.8314 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.6259, allocations: 0.7171 MB / 0.8321 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.626, allocations: 32.34 kB / 0.8321 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.588e-05/0.6261, allocations: 39.41 kB / 0.8322 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.6261, allocations: 0 / 0.8322 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0366/0.6627, allocations: 11.65 MB / 0.8435 GB, free: 8.875 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.594, allocations: 10.41 kB / 0.8435 GB, free: 8.867 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)