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.001215/0.001215, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001214/0.001214, allocations: 201.5 kB / 16.14 MB, free: 6.801 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.27/1.27, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.8995/0.8995, allocations: 143 MB / 433 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 59.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1292, allocations: 82.05 MB / 0.5937 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.324/0.4533, allocations: 133.5 MB / 0.7241 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008598/0.4619, allocations: 8.486 MB / 0.7324 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.4619, allocations: 0 / 0.7324 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.4621, allocations: 23.61 kB / 0.7324 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.204e-05/0.4622, allocations: 17.17 kB / 0.7324 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.4646, allocations: 1.164 MB / 0.7336 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.431e-05/0.4647, allocations: 78.36 kB / 0.7336 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 2.78e-05/0.4647, allocations: 3.625 kB / 0.7336 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.896e-05/0.4648, allocations: 38.86 kB / 0.7337 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.435e-05/0.4649, allocations: 33.78 kB / 0.7337 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.4649, allocations: 3.5 kB / 0.7337 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003457/0.4684, allocations: 2.655 MB / 0.7363 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.4684, allocations: 15.61 kB / 0.7363 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.4684, allocations: 32.53 kB / 0.7363 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.4699, allocations: 1.379 MB / 0.7377 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.4699, allocations: 2.688 kB / 0.7377 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4699, allocations: 4 kB / 0.7377 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.4699, allocations: 3.938 kB / 0.7377 GB, free: 8.668 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.0007635/0.4707, allocations: 0.4913 MB / 0.7382 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.4707, allocations: 13.77 kB / 0.7382 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.245e-05/0.4708, allocations: 37.5 kB / 0.7382 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000312/0.4711, allocations: 17.67 kB / 0.7382 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.693e-05/0.4712, allocations: 179.1 kB / 0.7384 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/0.4713, allocations: 34.67 kB / 0.7384 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.4713, allocations: 10.94 kB / 0.7385 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.4716, allocations: 119.9 kB / 0.7386 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.4716, allocations: 0 / 0.7386 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.4716, allocations: 8.344 kB / 0.7386 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4717, allocations: 3.984 kB / 0.7386 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.4719, allocations: 113.5 kB / 0.7387 GB, free: 7.781 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.0003936/0.4723, allocations: 389.3 kB / 0.7391 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.4725, allocations: 117.3 kB / 0.7392 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.638e-05/0.4726, allocations: 57.73 kB / 0.7392 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009869/0.4825, allocations: 4.199 MB / 0.7433 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.4825, allocations: 38.56 kB / 0.7434 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.4825, allocations: 0 / 0.7434 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004353/0.483, allocations: 165.5 kB / 0.7435 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.483, allocations: 55.41 kB / 0.7436 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.191e-05/0.4831, allocations: 97.86 kB / 0.7437 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.4831, allocations: 25.7 kB / 0.7437 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.4831, allocations: 84.05 kB / 0.7438 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.4832, allocations: 47.53 kB / 0.7438 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.4832, allocations: 33.7 kB / 0.7439 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4833, allocations: 320.1 kB / 0.7442 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.485e-05/0.4834, allocations: 24.5 kB / 0.7442 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.563e-05/0.4834, allocations: 25.48 kB / 0.7442 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.4836, allocations: 70.22 kB / 0.7443 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4836, allocations: 0 / 0.7443 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000176/0.4838, allocations: 114.5 kB / 0.7444 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.4838, allocations: 4 kB / 0.7444 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.4838, allocations: 0 / 0.7444 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.4838, allocations: 4 kB / 0.7444 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.4839, allocations: 31.92 kB / 0.7444 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4839, allocations: 0 / 0.7444 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.484, allocations: 3.938 kB / 0.7444 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.484, allocations: 8.766 kB / 0.7444 GB, free: 2.859 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 7.237e-05/0.4841, allocations: 121.8 kB / 0.7446 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.4841, allocations: 11.84 kB / 0.7446 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.4845, allocations: 364.4 kB / 0.7449 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.4846, allocations: 4.75 kB / 0.7449 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4846, allocations: 0 / 0.7449 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4846, allocations: 7.922 kB / 0.7449 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.4848, allocations: 289 kB / 0.7452 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4848, allocations: 0 / 0.7452 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.733e-05/0.4849, allocations: 28.92 kB / 0.7452 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4849, allocations: 4 kB / 0.7452 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.485, allocations: 4 kB / 0.7452 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.485, allocations: 4 kB / 0.7452 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.485, allocations: 0 / 0.7452 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.4853, allocations: 327.1 kB / 0.7455 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.4853, allocations: 100.9 kB / 0.7456 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.4854, allocations: 4 kB / 0.7456 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.4855, allocations: 9.062 kB / 0.7457 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.4855, allocations: 7.984 kB / 0.7457 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.4856, allocations: 11.92 kB / 0.7457 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.122e-05/0.4856, allocations: 87.45 kB / 0.7458 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4856, allocations: 0 / 0.7458 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006642/0.4863, allocations: 295.9 kB / 0.746 GB, free: 1.125 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.001583/0.4879, allocations: 1.169 MB / 0.7472 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.4881, allocations: 125.4 kB / 0.7473 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4881, allocations: 0 / 0.7473 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.4882, allocations: 111.9 kB / 0.7474 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.4885, allocations: 20.62 kB / 0.7474 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007953/0.4893, allocations: 491.2 kB / 0.7479 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.4895, allocations: 0.7208 MB / 0.7486 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.459e-05/0.4896, allocations: 24.58 kB / 0.7486 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.799e-05/0.4897, allocations: 47.89 kB / 0.7487 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.4897, allocations: 0 / 0.7487 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2737/0.7633, allocations: 11.47 MB / 0.7599 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/0.7636, allocations: 209.1 kB / 0.7601 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.1/2.863, allocations: 0 / 0.7601 GB, free: 2.773 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)