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.005541/0.005541, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.001142/0.001142, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.8141/0.8141, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 69.48 kB / 0.595 GB, free: 12.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1528, allocations: 82.03 MB / 0.6751 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.6077/0.7605, allocations: 135.6 MB / 0.8075 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009165/0.7697, allocations: 7.922 MB / 0.8153 GB, free: 6 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.7698, allocations: 0 / 0.8153 GB, free: 6 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.77, allocations: 25.3 kB / 0.8153 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.184e-05/0.7701, allocations: 22.61 kB / 0.8153 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004258/0.7744, allocations: 1.469 MB / 0.8168 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.7745, allocations: 75.42 kB / 0.8168 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.7746, allocations: 11.81 kB / 0.8169 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.7747, allocations: 45.58 kB / 0.8169 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.674e-05/0.7748, allocations: 36.55 kB / 0.8169 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.7748, allocations: 1.781 kB / 0.8169 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004683/0.7795, allocations: 2.709 MB / 0.8196 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.7795, allocations: 14.55 kB / 0.8196 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.7796, allocations: 34.69 kB / 0.8196 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.7817, allocations: 1.373 MB / 0.821 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.7817, allocations: 0 / 0.821 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7817, allocations: 0 / 0.821 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.7817, allocations: 0 / 0.821 GB, free: 2.516 MB / 0.5919 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.0009558/0.7827, allocations: 0.493 MB / 0.8214 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.7827, allocations: 10.06 kB / 0.8215 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.7828, allocations: 41.33 kB / 0.8215 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003587/0.7831, allocations: 23.7 kB / 0.8215 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.7833, allocations: 174.9 kB / 0.8217 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/0.7834, allocations: 32.7 kB / 0.8217 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.7834, allocations: 10.78 kB / 0.8217 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.7837, allocations: 125 kB / 0.8218 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.7838, allocations: 0 / 0.8218 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.7838, allocations: 0 / 0.8218 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.7838, allocations: 6.391 kB / 0.8219 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.7841, allocations: 115.9 kB / 0.822 GB, free: 1.625 MB / 0.5919 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.0005064/0.7846, allocations: 385.8 kB / 0.8223 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.7849, allocations: 121.5 kB / 0.8224 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.785, allocations: 54.53 kB / 0.8225 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01038/0.7953, allocations: 4.233 MB / 0.8266 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.7954, allocations: 34.56 kB / 0.8267 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.7954, allocations: 0 / 0.8267 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005402/0.796, allocations: 168.7 kB / 0.8268 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.796, allocations: 53.22 kB / 0.8269 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.98e-05/0.7961, allocations: 99.53 kB / 0.827 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.7961, allocations: 29.7 kB / 0.827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.7962, allocations: 80.14 kB / 0.8271 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.7962, allocations: 54.78 kB / 0.8271 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.7963, allocations: 25.48 kB / 0.8272 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7964, allocations: 318.8 kB / 0.8275 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.575e-05/0.7965, allocations: 26.45 kB / 0.8275 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.389e-05/0.7965, allocations: 32.33 kB / 0.8275 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.7966, allocations: 68.12 kB / 0.8276 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7966, allocations: 0 / 0.8276 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000173/0.7968, allocations: 114.3 kB / 0.8277 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.7968, allocations: 5.375 kB / 0.8277 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.7968, allocations: 4 kB / 0.8277 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.7969, allocations: 0 / 0.8277 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.797, allocations: 21.45 kB / 0.8277 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.797, allocations: 1.016 kB / 0.8277 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.7971, allocations: 10.62 kB / 0.8277 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.7971, allocations: 4.094 kB / 0.8277 GB, free: 13.42 MB / 0.6075 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.336e-05/0.7972, allocations: 116.3 kB / 0.8278 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.7972, allocations: 8.812 kB / 0.8278 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.7977, allocations: 375.5 kB / 0.8282 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.7977, allocations: 6.422 kB / 0.8282 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7977, allocations: 3.938 kB / 0.8282 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7977, allocations: 3.938 kB / 0.8282 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.798, allocations: 282.2 kB / 0.8285 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.798, allocations: 0 / 0.8285 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.551e-05/0.7981, allocations: 29.17 kB / 0.8285 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.7981, allocations: 0 / 0.8285 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.7981, allocations: 2.562 kB / 0.8285 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7981, allocations: 0 / 0.8285 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.7982, allocations: 4.859 kB / 0.8285 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.7985, allocations: 336.4 kB / 0.8288 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.7986, allocations: 98.66 kB / 0.8289 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.7986, allocations: 10.08 kB / 0.8289 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.7987, allocations: 2.719 kB / 0.829 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.7988, allocations: 12.52 kB / 0.829 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.7988, allocations: 6.812 kB / 0.829 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.694e-05/0.7988, allocations: 87.8 kB / 0.8291 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7988, allocations: 0 / 0.8291 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009491/0.7998, allocations: 302.8 kB / 0.8293 GB, free: 12.27 MB / 0.6075 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.001707/0.8015, allocations: 1.146 MB / 0.8305 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.8017, allocations: 126 kB / 0.8306 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8018, allocations: 0 / 0.8306 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.8019, allocations: 117.4 kB / 0.8307 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.8022, allocations: 28.36 kB / 0.8307 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008369/0.803, allocations: 421.9 kB / 0.8311 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.8034, allocations: 0.7211 MB / 0.8318 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.8035, allocations: 28.7 kB / 0.8319 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/0.8035, allocations: 38.27 kB / 0.8319 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.8035, allocations: 0 / 0.8319 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.8358, allocations: 11.66 MB / 0.8433 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.552/8.388, allocations: 10.12 kB / 0.8433 GB, free: 1.406 MB / 0.6075 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)