Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009614/0.0009617, allocations: 92.16 kB / 16.02 MB, free: 80 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.001048/0.001048, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.32 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.9887/0.9887, allocations: 143.2 MB / 435.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.0004211, allocations: 8 kB / 0.517 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1989, allocations: 83.41 MB / 0.5985 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005945/0.2048, allocations: 3.69 MB / 0.6021 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002669/0.2051, allocations: 155.5 kB / 0.6022 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.957e-05/0.2052, allocations: 0 / 0.6022 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.979e-05/0.2053, allocations: 0 / 0.6022 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.996e-05/0.2054, allocations: 19.91 kB / 0.6023 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.2058, allocations: 75.39 kB / 0.6023 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.2059, allocations: 55.88 kB / 0.6024 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.206, allocations: 11.94 kB / 0.6024 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.628e-05/0.2061, allocations: 15.92 kB / 0.6024 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.2062, allocations: 11.98 kB / 0.6024 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.2062, allocations: 0 / 0.6024 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.2065, allocations: 75.78 kB / 0.6025 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.2065, allocations: 7.984 kB / 0.6025 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.2066, allocations: 33.64 kB / 0.6025 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.2067, allocations: 31.95 kB / 0.6026 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2067, allocations: 0 / 0.6026 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2067, allocations: 0 / 0.6026 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.2067, allocations: 4 kB / 0.6026 GB, free: 3.512 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000401/0.2071, allocations: 335.7 kB / 0.6029 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2072, allocations: 12.03 kB / 0.6029 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.2073, allocations: 0.9375 kB / 0.6029 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.2074, allocations: 160.4 kB / 0.6031 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7e-05/0.2075, allocations: 30.27 kB / 0.6031 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.2075, allocations: 4.312 kB / 0.6031 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.2076, allocations: 45.62 kB / 0.6031 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2077, allocations: 4 kB / 0.6031 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.2077, allocations: 4 kB / 0.6031 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.2077, allocations: 0 / 0.6031 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.477e-05/0.2078, allocations: 15.98 kB / 0.6032 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.2083, allocations: 338 kB / 0.6035 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.265e-05/0.2084, allocations: 18.52 kB / 0.6035 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.2084, allocations: 8.922 kB / 0.6035 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.2085, allocations: 89.09 kB / 0.6036 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.2085, allocations: 34.5 kB / 0.6036 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.2086, allocations: 0 / 0.6036 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000171/0.2087, allocations: 37.7 kB / 0.6037 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.2088, allocations: 55.39 kB / 0.6037 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.805e-05/0.2089, allocations: 101.8 kB / 0.6038 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.2089, allocations: 25.83 kB / 0.6038 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.209, allocations: 95.98 kB / 0.6039 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.209, allocations: 7.891 kB / 0.6039 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.209, allocations: 9.719 kB / 0.6039 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2092, allocations: 318.8 kB / 0.6042 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.2092, allocations: 4 kB / 0.6042 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.752e-05/0.2092, allocations: 13.72 kB / 0.6043 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.15e-05/0.2093, allocations: 33.7 kB / 0.6043 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2093, allocations: 0 / 0.6043 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001046/0.2094, allocations: 49.62 kB / 0.6043 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2094, allocations: 8 kB / 0.6043 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2094, allocations: 0 / 0.6043 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2095, allocations: 0 / 0.6043 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.08e-05/0.2095, allocations: 4 kB / 0.6043 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2095, allocations: 0 / 0.6043 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.2096, allocations: 4 kB / 0.6044 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.2096, allocations: 4.062 kB / 0.6044 GB, free: 1.402 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 8.773e-05/0.2097, allocations: 113.8 kB / 0.6045 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.2097, allocations: 4.219 kB / 0.6045 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.2099, allocations: 121 kB / 0.6046 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.778e-05/0.2099, allocations: 180.2 kB / 0.6048 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.834e-05/0.21, allocations: 184.2 kB / 0.6049 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.337e-05/0.2101, allocations: 188.3 kB / 0.6051 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.2103, allocations: 417 kB / 0.6055 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.239e-05/0.2104, allocations: 101 kB / 0.6056 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2898/0.5002, allocations: 102.7 kB / 0.6057 GB, free: 41.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-05/0.5003, allocations: 180.1 kB / 0.6059 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/0.5003, allocations: 179.4 kB / 0.606 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-05/0.5003, allocations: 182.1 kB / 0.6062 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.991e-05/0.5004, allocations: 179.5 kB / 0.6064 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.5005, allocations: 310.1 kB / 0.6067 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.5005, allocations: 185.3 kB / 0.6069 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.5006, allocations: 184 kB / 0.607 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.5008, allocations: 110.8 kB / 0.6071 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.5008, allocations: 183.7 kB / 0.6073 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.5008, allocations: 104.2 kB / 0.6074 GB, free: 39.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.682e-05/0.5009, allocations: 86.14 kB / 0.6075 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5009, allocations: 0 / 0.6075 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003099/0.5012, allocations: 17.09 kB / 0.6075 GB, free: 39.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002559/0.5015, allocations: 199.2 kB / 0.6077 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.11e-05/0.5016, allocations: 11.53 kB / 0.6077 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5016, allocations: 2.094 kB / 0.6077 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.5016, allocations: 0 / 0.6077 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.5019, allocations: 0.5224 MB / 0.6082 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.5022, allocations: 215.5 kB / 0.6084 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.5023, allocations: 0.6749 MB / 0.6091 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/0.5024, allocations: 9.531 kB / 0.6091 GB, free: 38.05 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.5024, allocations: 4.125 kB / 0.6091 GB, free: 38.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.001993/0.5044, allocations: 0.7533 MB / 0.6098 GB, free: 38.05 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)