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.001602/0.001602, allocations: 108 kB / 15.61 MB, free: 152 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.00194/0.00194, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.367 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 1.023/1.023, allocations: 143 MB / 433.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 0.5141 GB, free: 11.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1594, allocations: 82.05 MB / 0.5943 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.4236/0.5831, allocations: 135.6 MB / 0.7267 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.5936, allocations: 7.928 MB / 0.7344 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.5937, allocations: 0 / 0.7344 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.5939, allocations: 23.48 kB / 0.7344 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.743e-05/0.594, allocations: 21.12 kB / 0.7344 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005101/0.5991, allocations: 1.465 MB / 0.7359 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.5993, allocations: 75.45 kB / 0.7359 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.5993, allocations: 6.734 kB / 0.7359 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.5995, allocations: 41.84 kB / 0.736 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.226e-05/0.5996, allocations: 36.22 kB / 0.736 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.5996, allocations: 2.75 kB / 0.736 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005698/0.6053, allocations: 2.654 MB / 0.7386 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.6054, allocations: 21.41 kB / 0.7386 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.6054, allocations: 32.48 kB / 0.7387 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.6088, allocations: 1.363 MB / 0.74 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.6088, allocations: 0 / 0.74 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6089, allocations: 0 / 0.74 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.6089, allocations: 0 / 0.74 GB, free: 6.992 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.00135/0.6102, allocations: 0.4983 MB / 0.7405 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.6103, allocations: 10 kB / 0.7405 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004484/0.6107, allocations: 28 kB / 0.7405 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.6109, allocations: 175.2 kB / 0.7407 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/0.6109, allocations: 28.83 kB / 0.7407 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.611, allocations: 12.75 kB / 0.7407 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.6113, allocations: 120.6 kB / 0.7408 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.6113, allocations: 0.75 kB / 0.7408 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.6114, allocations: 4 kB / 0.7408 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6114, allocations: 1.875 kB / 0.7408 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.6117, allocations: 116.1 kB / 0.741 GB, free: 6.145 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.0004899/0.6122, allocations: 384.8 kB / 0.7413 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.6125, allocations: 121.7 kB / 0.7414 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/0.6126, allocations: 52.61 kB / 0.7415 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01224/0.6248, allocations: 4.21 MB / 0.7456 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.6249, allocations: 39.42 kB / 0.7456 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 2.405e-06/0.6249, allocations: 0 / 0.7456 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005872/0.6255, allocations: 164.2 kB / 0.7458 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.6255, allocations: 51.41 kB / 0.7458 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/0.6256, allocations: 101.9 kB / 0.7459 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.6257, allocations: 29.7 kB / 0.746 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.6257, allocations: 92.03 kB / 0.7461 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.6258, allocations: 35.59 kB / 0.7461 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.6259, allocations: 25.72 kB / 0.7461 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.626, allocations: 326.8 kB / 0.7464 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.196e-05/0.626, allocations: 21.95 kB / 0.7465 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.869e-05/0.6261, allocations: 27.98 kB / 0.7465 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.6262, allocations: 69.3 kB / 0.7465 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6263, allocations: 4 kB / 0.7465 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002027/0.6265, allocations: 110.7 kB / 0.7467 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6265, allocations: 8 kB / 0.7467 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6265, allocations: 0 / 0.7467 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.6265, allocations: 3.984 kB / 0.7467 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.6267, allocations: 19.94 kB / 0.7467 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6267, allocations: 0.5469 kB / 0.7467 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.6267, allocations: 12.42 kB / 0.7467 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.6267, allocations: 11.94 kB / 0.7467 GB, free: 0.8789 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.309e-05/0.6268, allocations: 113.8 kB / 0.7468 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.6269, allocations: 7.906 kB / 0.7468 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004369/0.6273, allocations: 364 kB / 0.7472 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.6274, allocations: 8 kB / 0.7472 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6274, allocations: 8.484 kB / 0.7472 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6274, allocations: 6.625 kB / 0.7472 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.6277, allocations: 289 kB / 0.7475 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.6277, allocations: 0 / 0.7475 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.835e-05/0.6278, allocations: 22.92 kB / 0.7475 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.6278, allocations: 4 kB / 0.7475 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.6278, allocations: 7.938 kB / 0.7475 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.6278, allocations: 0 / 0.7475 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6278, allocations: 0 / 0.7475 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.6282, allocations: 339 kB / 0.7478 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/0.6283, allocations: 100.9 kB / 0.7479 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.6283, allocations: 0 / 0.7479 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.6284, allocations: 11.98 kB / 0.7479 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.6285, allocations: 8.172 kB / 0.7479 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.6285, allocations: 4 kB / 0.7479 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.562e-05/0.6285, allocations: 91.2 kB / 0.748 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6285, allocations: 0 / 0.748 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001003/0.6295, allocations: 295.9 kB / 0.7483 GB, free: 15.15 MB / 0.5762 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.001714/0.6313, allocations: 400.9 kB / 0.7487 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.6315, allocations: 136.7 kB / 0.7488 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6315, allocations: 0 / 0.7488 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.6317, allocations: 115.9 kB / 0.7489 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.632, allocations: 14.08 kB / 0.7489 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/0.6326, allocations: 306 kB / 0.7492 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.6329, allocations: 0.7222 MB / 0.7499 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.633, allocations: 35.06 kB / 0.75 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.6331, allocations: 23.42 kB / 0.75 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of SimCode: time 1.613e-06/0.6331, allocations: 0 / 0.75 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of Templates: time 0.01649/0.6496, allocations: 9.849 MB / 0.7596 GB, free: 3.559 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)