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.001287/0.001287, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001255/0.001255, allocations: 194.6 kB / 16.14 MB, free: 6.656 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.438/1.438, 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 1.058/1.058, allocations: 143 MB / 433 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 0.5135 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1888, allocations: 82.04 MB / 0.5936 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.5202/0.709, allocations: 134 MB / 0.7245 GB, free: 484 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03157/0.7406, allocations: 24.62 MB / 0.7485 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.7409, allocations: 4 kB / 0.7486 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.7412, allocations: 39.78 kB / 0.7486 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.7416, allocations: 83.5 kB / 0.7487 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02074/0.7624, allocations: 5.3 MB / 0.7538 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004812/0.7628, allocations: 307.8 kB / 0.7541 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.045e-05/0.7629, allocations: 5.562 kB / 0.7541 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003525/0.7633, allocations: 147.4 kB / 0.7543 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.7634, allocations: 91.66 kB / 0.7544 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.7635, allocations: 4 kB / 0.7544 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02377/0.7872, allocations: 10.84 MB / 0.765 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.7874, allocations: 39.88 kB / 0.765 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.7876, allocations: 79.66 kB / 0.7651 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01478/0.8023, allocations: 6.2 MB / 0.7711 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.8024, allocations: 3.984 kB / 0.7711 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8024, allocations: 0 / 0.7711 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.8024, allocations: 0 / 0.7711 GB, free: 8.027 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.00329/0.8057, allocations: 1.181 MB / 0.7723 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.8057, allocations: 12.03 kB / 0.7723 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.8069, allocations: 84.61 kB / 0.7724 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.8072, allocations: 236 kB / 0.7726 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.8072, allocations: 14.88 kB / 0.7726 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.8072, allocations: 15.94 kB / 0.7726 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.8084, allocations: 448.8 kB / 0.7731 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8084, allocations: 3.938 kB / 0.7731 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.8085, allocations: 12 kB / 0.7731 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.8085, allocations: 4 kB / 0.7731 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.8097, allocations: 0.597 MB / 0.7737 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.8108, allocations: 0.8732 MB / 0.7745 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008576/0.8117, allocations: 260 kB / 0.7748 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.8118, allocations: 76.83 kB / 0.7748 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08492/0.8967, allocations: 35.05 MB / 0.8091 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.8968, allocations: 34.5 kB / 0.8091 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 2.876e-06/0.8968, allocations: 4 kB / 0.8091 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001893/0.8987, allocations: 420.8 kB / 0.8095 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.8988, allocations: 55.41 kB / 0.8096 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.899, allocations: 143.5 kB / 0.8097 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.899, allocations: 33.7 kB / 0.8097 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.8991, allocations: 112.3 kB / 0.8098 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.729e-05/0.8992, allocations: 82.77 kB / 0.8099 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.8994, allocations: 77.66 kB / 0.81 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002571/0.8996, allocations: 326.8 kB / 0.8103 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.8998, allocations: 79.95 kB / 0.8104 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.9001, allocations: 130.1 kB / 0.8105 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/0.9006, allocations: 228.8 kB / 0.8107 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.9006, allocations: 4 kB / 0.8107 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007546/0.9014, allocations: 297.2 kB / 0.811 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.9014, allocations: 8 kB / 0.811 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.9014, allocations: 0 / 0.811 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.9015, allocations: 4 kB / 0.811 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.9018, allocations: 84.69 kB / 0.8111 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.9019, allocations: 4 kB / 0.8111 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.902, allocations: 15.84 kB / 0.8111 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.9021, allocations: 32.08 kB / 0.8112 GB, free: 11.67 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.00015/0.9023, allocations: 125.8 kB / 0.8113 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.9025, allocations: 23.75 kB / 0.8113 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/0.9051, allocations: 2.354 MB / 0.8136 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.9051, allocations: 7.984 kB / 0.8136 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.9051, allocations: 3.5 kB / 0.8136 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.9051, allocations: 0 / 0.8136 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.9084, allocations: 3.43 MB / 0.817 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.9085, allocations: 0 / 0.817 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.9088, allocations: 59.88 kB / 0.817 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.9088, allocations: 0 / 0.817 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.9088, allocations: 11.94 kB / 0.817 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.9089, allocations: 0 / 0.817 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9089, allocations: 4 kB / 0.817 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008091/0.9097, allocations: 0.5495 MB / 0.8176 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.9098, allocations: 132.6 kB / 0.8177 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.9099, allocations: 23.86 kB / 0.8177 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.9101, allocations: 12 kB / 0.8177 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.9102, allocations: 19.97 kB / 0.8177 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.9102, allocations: 8 kB / 0.8177 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.708e-05/0.9103, allocations: 112.3 kB / 0.8179 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9103, allocations: 0 / 0.8179 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004223/0.9145, allocations: 1.628 MB / 0.8194 GB, free: 3.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.008317/0.9228, allocations: 1.899 MB / 0.8213 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007151/0.9236, allocations: 328.3 kB / 0.8216 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.9236, allocations: 4 kB / 0.8216 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.9239, allocations: 236.5 kB / 0.8218 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005998/0.9246, allocations: 63.23 kB / 0.8219 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.9257, allocations: 0.7556 MB / 0.8226 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.926, allocations: 0.7661 MB / 0.8234 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005448/0.9265, allocations: 406.6 kB / 0.8238 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.9267, allocations: 47.41 kB / 0.8238 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.9267, allocations: 0 / 0.8238 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.3231/1.25, allocations: 57.14 MB / 0.8796 GB, free: 208.7 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)