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: translateModel(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 195.5 kB / 16.79 MB, free: 6.809 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.393/1.393, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.9517/0.9517, allocations: 143 MB / 433.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.91 kB / 0.5141 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1532, allocations: 82.04 MB / 0.5942 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.4004/0.5536, allocations: 133.5 MB / 0.7246 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01077/0.5644, allocations: 8.486 MB / 0.7329 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.255e-05/0.5646, allocations: 0 / 0.7329 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.5648, allocations: 26.95 kB / 0.7329 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.286e-05/0.5649, allocations: 18.08 kB / 0.7329 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.5693, allocations: 1.155 MB / 0.7341 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.5694, allocations: 74.09 kB / 0.7341 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.5695, allocations: 8.016 kB / 0.7342 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.5696, allocations: 48.27 kB / 0.7342 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.892e-05/0.5697, allocations: 29.92 kB / 0.7342 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.5697, allocations: 2.75 kB / 0.7342 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005332/0.5751, allocations: 2.653 MB / 0.7368 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.5751, allocations: 18.78 kB / 0.7368 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.5752, allocations: 29.52 kB / 0.7369 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.5766, allocations: 0.9254 MB / 0.7378 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5766, allocations: 0 / 0.7378 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5766, allocations: 0 / 0.7378 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.5767, allocations: 0.8125 kB / 0.7378 GB, free: 9.105 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.001488/0.5781, allocations: 0.5022 MB / 0.7383 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.5782, allocations: 10 kB / 0.7383 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000428/0.5786, allocations: 19.64 kB / 0.7383 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.5788, allocations: 178.6 kB / 0.7385 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/0.5788, allocations: 29.73 kB / 0.7385 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.5789, allocations: 13.19 kB / 0.7385 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.5792, allocations: 116.2 kB / 0.7386 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5793, allocations: 4 kB / 0.7386 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.5793, allocations: 4 kB / 0.7386 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.5793, allocations: 2.781 kB / 0.7386 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.5796, allocations: 111.9 kB / 0.7387 GB, free: 8.262 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.0004861/0.5801, allocations: 392.1 kB / 0.7391 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.5803, allocations: 118.4 kB / 0.7392 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.428e-05/0.5804, allocations: 58.86 kB / 0.7393 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/0.5914, allocations: 4.204 MB / 0.7434 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.5915, allocations: 30.56 kB / 0.7434 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 2.004e-06/0.5915, allocations: 0 / 0.7434 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005543/0.592, allocations: 169.5 kB / 0.7436 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.5921, allocations: 55.41 kB / 0.7436 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.763e-05/0.5922, allocations: 97.86 kB / 0.7437 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.5922, allocations: 29.7 kB / 0.7437 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.5923, allocations: 92.03 kB / 0.7438 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.5923, allocations: 35.55 kB / 0.7439 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.5924, allocations: 33.64 kB / 0.7439 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.5925, allocations: 326.8 kB / 0.7442 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.5925, allocations: 27.98 kB / 0.7442 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.956e-05/0.5926, allocations: 29.73 kB / 0.7443 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.5927, allocations: 61.36 kB / 0.7443 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5927, allocations: 2.344 kB / 0.7443 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001979/0.5929, allocations: 114.6 kB / 0.7444 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.593, allocations: 4 kB / 0.7444 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.593, allocations: 4 kB / 0.7444 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.593, allocations: 0.625 kB / 0.7444 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.5931, allocations: 19.98 kB / 0.7445 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.5931, allocations: 0 / 0.7445 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.881e-05/0.5932, allocations: 8 kB / 0.7445 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.5932, allocations: 11.92 kB / 0.7445 GB, free: 3.445 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 9.23e-05/0.5933, allocations: 117.8 kB / 0.7446 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.5934, allocations: 8.469 kB / 0.7446 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/0.5938, allocations: 367.5 kB / 0.745 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.5939, allocations: 8 kB / 0.745 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5939, allocations: 0 / 0.745 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5939, allocations: 3.984 kB / 0.745 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.5942, allocations: 290.7 kB / 0.7452 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5942, allocations: 0 / 0.7452 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.5943, allocations: 23.92 kB / 0.7453 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5943, allocations: 0 / 0.7453 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.5943, allocations: 8 kB / 0.7453 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5943, allocations: 0 / 0.7453 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5943, allocations: 7.938 kB / 0.7453 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.5947, allocations: 327.1 kB / 0.7456 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.5948, allocations: 104.9 kB / 0.7457 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.5948, allocations: 0 / 0.7457 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.5949, allocations: 11.98 kB / 0.7457 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.595, allocations: 7.984 kB / 0.7457 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.595, allocations: 8 kB / 0.7457 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.049e-05/0.595, allocations: 87.22 kB / 0.7458 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.595, allocations: 3.938 kB / 0.7458 GB, free: 2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001255/0.5963, allocations: 291.9 kB / 0.7461 GB, free: 1.715 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.00188/0.5982, allocations: 410.4 kB / 0.7465 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.5985, allocations: 129.6 kB / 0.7466 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5985, allocations: 0 / 0.7466 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.5986, allocations: 108 kB / 0.7467 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.599, allocations: 25.2 kB / 0.7467 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.5996, allocations: 407.4 kB / 0.7471 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.5998, allocations: 0.713 MB / 0.7478 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.5999, allocations: 23.36 kB / 0.7478 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.5999, allocations: 0 / 0.7478 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of Templates: time 0.01124/0.6111, allocations: 6.786 MB / 0.7545 GB, free: 9.098 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)