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.009269/0.009269, allocations: 100.6 kB / 15.73 MB, free: 6.031 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.001873/0.001873, allocations: 194.6 kB / 16.67 MB, free: 5.969 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.9953/0.9953, allocations: 143 MB / 433.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 64.08 kB / 0.595 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4262, allocations: 82.02 MB / 0.6751 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1478/0.574, allocations: 135.6 MB / 0.8076 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009441/0.5835, allocations: 7.915 MB / 0.8153 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.019e-05/0.5836, allocations: 4 kB / 0.8153 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.5838, allocations: 19.89 kB / 0.8153 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.5839, allocations: 23.78 kB / 0.8153 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003729/0.5876, allocations: 1.476 MB / 0.8168 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.5878, allocations: 67.72 kB / 0.8168 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.5878, allocations: 15.88 kB / 0.8169 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.588, allocations: 39.84 kB / 0.8169 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.611e-05/0.5881, allocations: 39.89 kB / 0.8169 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.5881, allocations: 0 / 0.8169 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004296/0.5924, allocations: 2.704 MB / 0.8196 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.5924, allocations: 19.92 kB / 0.8196 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.5925, allocations: 31.84 kB / 0.8196 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.5946, allocations: 1.376 MB / 0.821 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5946, allocations: 0 / 0.821 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5946, allocations: 0 / 0.821 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.5946, allocations: 0 / 0.821 GB, free: 0.5508 MB / 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.001087/0.5957, allocations: 0.4928 MB / 0.8214 GB, free: 12 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5957, allocations: 12.03 kB / 0.8215 GB, free: 0 / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.675e-05/0.5958, allocations: 42.67 kB / 0.8215 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/0.5962, allocations: 32.83 kB / 0.8215 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.5963, allocations: 164.3 kB / 0.8217 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.248e-05/0.5964, allocations: 38 kB / 0.8217 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.5964, allocations: 8 kB / 0.8217 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.5968, allocations: 113.6 kB / 0.8218 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.5968, allocations: 0 / 0.8218 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.5969, allocations: 4 kB / 0.8218 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5969, allocations: 3.938 kB / 0.8218 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.5972, allocations: 123.8 kB / 0.822 GB, free: 15.42 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.0004793/0.5977, allocations: 380.6 kB / 0.8223 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.5979, allocations: 122.6 kB / 0.8224 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.45e-05/0.598, allocations: 48.84 kB / 0.8225 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01147/0.6095, allocations: 4.242 MB / 0.8266 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.6096, allocations: 30.56 kB / 0.8267 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.6096, allocations: 0 / 0.8267 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0005175/0.6101, allocations: 165.5 kB / 0.8268 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.6101, allocations: 51.41 kB / 0.8269 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.197e-05/0.6102, allocations: 105.8 kB / 0.827 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.6102, allocations: 25.7 kB / 0.827 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.6103, allocations: 84.14 kB / 0.8271 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.6104, allocations: 47.44 kB / 0.8271 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.6104, allocations: 25.72 kB / 0.8271 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.6105, allocations: 318.8 kB / 0.8274 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.086e-05/0.6106, allocations: 27.98 kB / 0.8275 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.775e-05/0.6107, allocations: 39.92 kB / 0.8275 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.6108, allocations: 68.36 kB / 0.8276 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6108, allocations: 0 / 0.8276 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001832/0.611, allocations: 101.6 kB / 0.8277 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.611, allocations: 7.984 kB / 0.8277 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.611, allocations: 4 kB / 0.8277 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.611, allocations: 0 / 0.8277 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.6112, allocations: 27.92 kB / 0.8277 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.6112, allocations: 0 / 0.8277 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.141e-05/0.6112, allocations: 11.94 kB / 0.8277 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.6113, allocations: 7.922 kB / 0.8277 GB, free: 9.055 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 7.729e-05/0.6113, allocations: 113.8 kB / 0.8278 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.6114, allocations: 7.906 kB / 0.8278 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004795/0.6119, allocations: 372.8 kB / 0.8282 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.6119, allocations: 7.969 kB / 0.8282 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.6119, allocations: 4 kB / 0.8282 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.6119, allocations: 3.938 kB / 0.8282 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.6122, allocations: 289.3 kB / 0.8285 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.6122, allocations: 0 / 0.8285 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-05/0.6123, allocations: 19.98 kB / 0.8285 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6123, allocations: 0 / 0.8285 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.6124, allocations: 4 kB / 0.8285 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6124, allocations: 0 / 0.8285 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6124, allocations: 0 / 0.8285 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.6127, allocations: 338.9 kB / 0.8288 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.6128, allocations: 104.8 kB / 0.8289 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.6128, allocations: 4 kB / 0.8289 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.613, allocations: 11.98 kB / 0.829 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.613, allocations: 11.92 kB / 0.829 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.613, allocations: 4 kB / 0.829 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.738e-05/0.6131, allocations: 83.28 kB / 0.829 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6131, allocations: 0 / 0.829 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008474/0.6139, allocations: 299.9 kB / 0.8293 GB, free: 7.309 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.001919/0.6159, allocations: 1.16 MB / 0.8305 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.6161, allocations: 124 kB / 0.8306 GB, free: 6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6161, allocations: 0 / 0.8306 GB, free: 6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.6163, allocations: 111.9 kB / 0.8307 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.6166, allocations: 19.92 kB / 0.8307 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009036/0.6175, allocations: 434 kB / 0.8311 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.6177, allocations: 0.7172 MB / 0.8318 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000112/0.6179, allocations: 28.36 kB / 0.8319 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.6179, allocations: 43.41 kB / 0.8319 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.6179, allocations: 0 / 0.8319 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03429/0.6522, allocations: 11.69 MB / 0.8433 GB, free: 9.008 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.437, allocations: 7.812 kB / 0.8433 GB, free: 9.004 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 & /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)