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.0074/0.0074, allocations: 100.6 kB / 15.87 MB, free: 5.863 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.00177/0.00177, allocations: 190.1 kB / 16.79 MB, free: 5.805 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.37/1.37, allocations: 222.9 MB / 240.5 MB, free: 4.559 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.9463/0.9463, allocations: 143 MB / 433.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.91 kB / 0.5141 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1706, allocations: 82.03 MB / 0.5942 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.3878/0.5584, allocations: 134.1 MB / 0.7252 GB, free: 460 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02954/0.5879, allocations: 24.63 MB / 0.7492 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.5882, allocations: 3.938 kB / 0.7492 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.5885, allocations: 39.8 kB / 0.7492 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.5888, allocations: 83.48 kB / 0.7493 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01682/0.6057, allocations: 5.305 MB / 0.7545 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.6061, allocations: 303.8 kB / 0.7548 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.07e-05/0.6062, allocations: 9.562 kB / 0.7548 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.6065, allocations: 143.4 kB / 0.7549 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.6066, allocations: 91.66 kB / 0.755 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.6066, allocations: 8 kB / 0.755 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01841/0.6251, allocations: 10.84 MB / 0.7656 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.6252, allocations: 47.83 kB / 0.7657 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.6253, allocations: 75.66 kB / 0.7657 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007656/0.633, allocations: 4.136 MB / 0.7698 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.6331, allocations: 4 kB / 0.7698 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.956e-06/0.6331, allocations: 3.984 kB / 0.7698 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.6331, allocations: 0 / 0.7698 GB, free: 10.01 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003247/0.6363, allocations: 1.185 MB / 0.7709 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.6364, allocations: 8.031 kB / 0.771 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.6375, allocations: 84.67 kB / 0.771 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.6377, allocations: 236 kB / 0.7713 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.6377, allocations: 14.88 kB / 0.7713 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.6378, allocations: 15.94 kB / 0.7713 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.6389, allocations: 452.7 kB / 0.7717 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.6389, allocations: 0 / 0.7717 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.6389, allocations: 4 kB / 0.7717 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.6389, allocations: 8 kB / 0.7717 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.6401, allocations: 0.601 MB / 0.7723 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009842/0.6411, allocations: 0.8731 MB / 0.7732 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008426/0.6419, allocations: 256.3 kB / 0.7734 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.6421, allocations: 76.83 kB / 0.7735 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.079/0.7211, allocations: 35.05 MB / 0.8077 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.7211, allocations: 34.5 kB / 0.8078 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.7211, allocations: 0 / 0.8078 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001769/0.7229, allocations: 420.8 kB / 0.8082 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.723, allocations: 55.41 kB / 0.8082 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.7231, allocations: 142.8 kB / 0.8083 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.7232, allocations: 33.7 kB / 0.8084 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.7232, allocations: 108.4 kB / 0.8085 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.013e-05/0.7233, allocations: 90.67 kB / 0.8086 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.7235, allocations: 81.66 kB / 0.8086 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.7236, allocations: 326.8 kB / 0.809 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.7238, allocations: 79.95 kB / 0.809 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.724, allocations: 134 kB / 0.8092 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/0.7245, allocations: 228.2 kB / 0.8094 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7245, allocations: 0 / 0.8094 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007286/0.7252, allocations: 297.2 kB / 0.8097 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.7252, allocations: 4 kB / 0.8097 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.7253, allocations: 4 kB / 0.8097 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.7253, allocations: 4 kB / 0.8097 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.7256, allocations: 84.44 kB / 0.8097 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.7256, allocations: 0 / 0.8097 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.7258, allocations: 27.94 kB / 0.8098 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.7258, allocations: 23.92 kB / 0.8098 GB, free: 13.66 MB / 0.6387 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.0001446/0.726, allocations: 129.8 kB / 0.8099 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.7262, allocations: 19.81 kB / 0.8099 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.7287, allocations: 2.346 MB / 0.8122 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.7287, allocations: 12.55 kB / 0.8122 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.7287, allocations: 0 / 0.8122 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.7287, allocations: 3.984 kB / 0.8122 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/0.732, allocations: 3.423 MB / 0.8156 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.732, allocations: 0.8125 kB / 0.8156 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.7323, allocations: 59.88 kB / 0.8156 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.7323, allocations: 0 / 0.8156 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.7324, allocations: 11.94 kB / 0.8157 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.7324, allocations: 0 / 0.8157 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7324, allocations: 3.375 kB / 0.8157 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007908/0.7332, allocations: 0.5534 MB / 0.8162 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.7333, allocations: 140.6 kB / 0.8163 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.7333, allocations: 11.92 kB / 0.8163 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.7336, allocations: 12 kB / 0.8164 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.7336, allocations: 19.97 kB / 0.8164 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.7337, allocations: 12 kB / 0.8164 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.468e-05/0.7338, allocations: 108.3 kB / 0.8165 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7338, allocations: 0 / 0.8165 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004376/0.7381, allocations: 1.624 MB / 0.8181 GB, free: 5.02 MB / 0.6387 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.008557/0.7467, allocations: 1.918 MB / 0.82 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007682/0.7475, allocations: 316.4 kB / 0.8203 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.7475, allocations: 0 / 0.8203 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.7479, allocations: 244.5 kB / 0.8205 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.7485, allocations: 63.7 kB / 0.8205 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.7497, allocations: 0.7807 MB / 0.8213 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.75, allocations: 0.7699 MB / 0.8221 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.7502, allocations: 55.41 kB / 0.8221 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.7502, allocations: 0 / 0.8221 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of Templates: time 0.04532/0.7955, allocations: 31.59 MB / 0.853 GB, free: 1.23 MB / 0.67 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)