Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 105.4 kB / 16.27 MB, free: 6.414 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.001327/0.001327, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.254/1.254, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.829/0.829, allocations: 143.1 MB / 434.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 59.91 kB / 0.5148 GB, free: 15.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.314, allocations: 82.03 MB / 0.5949 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.1234/0.4374, allocations: 136.1 MB / 0.7279 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02443/0.4619, allocations: 22.34 MB / 0.7497 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.4621, allocations: 0 / 0.7497 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.4625, allocations: 47.69 kB / 0.7497 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.4628, allocations: 99.34 kB / 0.7498 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3163/0.7791, allocations: 6.668 MB / 0.7563 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.7795, allocations: 250.5 kB / 0.7566 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.258e-05/0.7795, allocations: 9.906 kB / 0.7566 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.7798, allocations: 146.6 kB / 0.7567 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.78, allocations: 91.81 kB / 0.7568 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.78, allocations: 8.312 kB / 0.7568 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02046/0.8005, allocations: 10.68 MB / 0.7672 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.8006, allocations: 40.28 kB / 0.7673 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.8008, allocations: 79.48 kB / 0.7674 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01519/0.816, allocations: 6.168 MB / 0.7734 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.8161, allocations: 1.594 kB / 0.7734 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.126e-06/0.8161, allocations: 0.8438 kB / 0.7734 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.8161, allocations: 3.188 kB / 0.7734 GB, free: 2.094 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.004175/0.8203, allocations: 1.193 MB / 0.7746 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.8203, allocations: 9.219 kB / 0.7746 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.8215, allocations: 82.73 kB / 0.7746 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.8217, allocations: 229.7 kB / 0.7749 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.8217, allocations: 12.25 kB / 0.7749 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.8218, allocations: 19.45 kB / 0.7749 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.8228, allocations: 454.5 kB / 0.7753 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.8228, allocations: 0.7812 kB / 0.7753 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.8228, allocations: 7.969 kB / 0.7753 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.8228, allocations: 2.688 kB / 0.7753 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.8239, allocations: 0.6044 MB / 0.7759 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009773/0.8249, allocations: 0.8847 MB / 0.7768 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/0.8257, allocations: 254.8 kB / 0.777 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.973e-05/0.8258, allocations: 73.19 kB / 0.7771 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08432/0.9101, allocations: 35.06 MB / 0.8113 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.9102, allocations: 35.08 kB / 0.8114 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 3.086e-06/0.9102, allocations: 0 / 0.8114 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.001761/0.9119, allocations: 421 kB / 0.8118 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.912, allocations: 59.39 kB / 0.8118 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.9121, allocations: 137.5 kB / 0.812 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.9122, allocations: 33.27 kB / 0.812 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.9122, allocations: 113.1 kB / 0.8121 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.538e-05/0.9123, allocations: 81.81 kB / 0.8122 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.9124, allocations: 82.03 kB / 0.8123 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.9125, allocations: 326.4 kB / 0.8126 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.9127, allocations: 80.2 kB / 0.8126 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.9129, allocations: 137.2 kB / 0.8128 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.9133, allocations: 217.8 kB / 0.813 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.9133, allocations: 0 / 0.813 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006725/0.914, allocations: 305.6 kB / 0.8133 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.914, allocations: 8 kB / 0.8133 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.914, allocations: 0 / 0.8133 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.9141, allocations: 4.656 kB / 0.8133 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.9143, allocations: 78.03 kB / 0.8134 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.9144, allocations: 0 / 0.8134 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.9145, allocations: 24.66 kB / 0.8134 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.9146, allocations: 22.98 kB / 0.8134 GB, free: 7.977 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 0.0001297/0.9147, allocations: 135.5 kB / 0.8135 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.9149, allocations: 21.08 kB / 0.8136 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/0.9169, allocations: 2.346 MB / 0.8158 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.9169, allocations: 11.73 kB / 0.8159 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9169, allocations: 4 kB / 0.8159 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.9169, allocations: 2.906 kB / 0.8159 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.9196, allocations: 3.434 MB / 0.8192 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.9197, allocations: 0 / 0.8192 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.9199, allocations: 62.03 kB / 0.8193 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.9199, allocations: 0 / 0.8193 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.9199, allocations: 11.75 kB / 0.8193 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.92, allocations: 5.141 kB / 0.8193 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.92, allocations: 0.875 kB / 0.8193 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006884/0.9207, allocations: 0.5426 MB / 0.8198 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.9208, allocations: 143.1 kB / 0.82 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.9208, allocations: 3.375 kB / 0.82 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.921, allocations: 15.56 kB / 0.82 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.9211, allocations: 23.34 kB / 0.82 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.9211, allocations: 11.62 kB / 0.82 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.907e-05/0.9212, allocations: 109.2 kB / 0.8201 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9212, allocations: 0 / 0.8201 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004785/0.926, allocations: 1.622 MB / 0.8217 GB, free: 1.855 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: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.008322/0.9343, allocations: 1.908 MB / 0.8236 GB, free: 136 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007612/0.9351, allocations: 338.6 kB / 0.8239 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.9351, allocations: 0 / 0.8239 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.9354, allocations: 241.1 kB / 0.8241 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.936, allocations: 75.45 kB / 0.8242 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009764/0.937, allocations: 0.6538 MB / 0.8248 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.9372, allocations: 0.7661 MB / 0.8256 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.9374, allocations: 54.41 kB / 0.8256 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.9374, allocations: 0 / 0.8256 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.04234/0.9797, allocations: 31.61 MB / 0.8565 GB, free: 14.76 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe 2>&1)