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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.000693/0.0006955, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004617/0.004617, allocations: 170 kB / 16.26 MB, free: 6.613 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.224/1.224, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.9561/0.9561, allocations: 143.2 MB / 434.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002772, allocations: 8 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1387, allocations: 83.42 MB / 0.5979 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.3643/0.5031, allocations: 131.7 MB / 0.7266 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009088/0.5122, allocations: 8.387 MB / 0.7348 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/0.5123, allocations: 0 / 0.7348 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.5124, allocations: 23.06 kB / 0.7348 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.738e-05/0.5125, allocations: 18.11 kB / 0.7348 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.5156, allocations: 1.158 MB / 0.736 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.5157, allocations: 79.27 kB / 0.736 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.5158, allocations: 4.219 kB / 0.736 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.5159, allocations: 45.66 kB / 0.7361 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.516, allocations: 31.62 kB / 0.7361 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.516, allocations: 3.531 kB / 0.7361 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004499/0.5205, allocations: 2.66 MB / 0.7387 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.5206, allocations: 15.73 kB / 0.7387 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.5206, allocations: 53.89 kB / 0.7388 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.5223, allocations: 1.373 MB / 0.7401 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5223, allocations: 0 / 0.7401 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5224, allocations: 0.9688 kB / 0.7401 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.5224, allocations: 0 / 0.7401 GB, free: 8.215 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.0008059/0.5232, allocations: 492.9 kB / 0.7406 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.5232, allocations: 9.562 kB / 0.7406 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.5233, allocations: 40.92 kB / 0.7406 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003376/0.5236, allocations: 23.52 kB / 0.7407 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.172e-05/0.5237, allocations: 170.5 kB / 0.7408 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.5238, allocations: 37.41 kB / 0.7409 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.5238, allocations: 8.562 kB / 0.7409 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.5241, allocations: 122.8 kB / 0.741 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.5241, allocations: 0 / 0.741 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.5241, allocations: 2.531 kB / 0.741 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5242, allocations: 2.656 kB / 0.741 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.5244, allocations: 125.2 kB / 0.7411 GB, free: 7.332 MB / 0.5606 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.0003922/0.5248, allocations: 375.5 kB / 0.7415 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.5251, allocations: 128.2 kB / 0.7416 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.116e-05/0.5251, allocations: 50.91 kB / 0.7416 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.5357, allocations: 4.249 MB / 0.7458 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.5358, allocations: 39.06 kB / 0.7458 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.5358, allocations: 3.938 kB / 0.7458 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004425/0.5362, allocations: 161.5 kB / 0.746 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.5363, allocations: 55.34 kB / 0.746 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.81e-05/0.5363, allocations: 101.8 kB / 0.7461 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.5363, allocations: 33.7 kB / 0.7462 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.5364, allocations: 84.14 kB / 0.7463 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.5364, allocations: 43.44 kB / 0.7463 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.5365, allocations: 17.72 kB / 0.7463 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.668e-05/0.5365, allocations: 322.8 kB / 0.7466 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.181e-05/0.5366, allocations: 23.98 kB / 0.7466 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/0.5366, allocations: 29.73 kB / 0.7467 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.5367, allocations: 68.78 kB / 0.7467 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5368, allocations: 0 / 0.7467 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001614/0.5369, allocations: 118.8 kB / 0.7469 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5369, allocations: 4 kB / 0.7469 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5369, allocations: 0 / 0.7469 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.537, allocations: 0 / 0.7469 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.5371, allocations: 23.98 kB / 0.7469 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.5371, allocations: 4.438 kB / 0.7469 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/0.5372, allocations: 8.688 kB / 0.7469 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.5372, allocations: 4 kB / 0.7469 GB, free: 2.664 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 6.732e-05/0.5372, allocations: 113.8 kB / 0.747 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.5373, allocations: 7.906 kB / 0.747 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/0.5377, allocations: 365.9 kB / 0.7474 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.5377, allocations: 12.55 kB / 0.7474 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5377, allocations: 0 / 0.7474 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5377, allocations: 4.125 kB / 0.7474 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.538, allocations: 293 kB / 0.7477 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.538, allocations: 1.688 kB / 0.7477 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.319e-05/0.5381, allocations: 23.98 kB / 0.7477 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.5381, allocations: 3.984 kB / 0.7477 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.5381, allocations: 4 kB / 0.7477 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5381, allocations: 0 / 0.7477 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5381, allocations: 4 kB / 0.7477 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.5384, allocations: 328.5 kB / 0.748 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.5385, allocations: 104.8 kB / 0.7481 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.5385, allocations: 11.94 kB / 0.7481 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.5387, allocations: 7.984 kB / 0.7481 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.5387, allocations: 11.92 kB / 0.7481 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.5387, allocations: 11.94 kB / 0.7481 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.928e-05/0.5388, allocations: 79.27 kB / 0.7482 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5388, allocations: 0 / 0.7482 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008486/0.5396, allocations: 295.9 kB / 0.7485 GB, free: 0.9258 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.001561/0.5412, allocations: 1.157 MB / 0.7496 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000188/0.5414, allocations: 128.5 kB / 0.7498 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5414, allocations: 0 / 0.7498 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.5415, allocations: 112.5 kB / 0.7499 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.5418, allocations: 23.92 kB / 0.7499 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.5426, allocations: 493.8 kB / 0.7504 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.5428, allocations: 0.7169 MB / 0.7511 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001/0.5429, allocations: 37.19 kB / 0.7511 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.543, allocations: 39.42 kB / 0.7511 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.543, allocations: 4 kB / 0.7511 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.017/1.56, allocations: 11.41 MB / 0.7623 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/1.56, allocations: 212.1 kB / 0.7625 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/3.999, allocations: 0 / 0.7625 GB, free: 2.668 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)