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.001672/0.001672, 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.001988/0.001988, allocations: 195.7 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.53/1.53, allocations: 222.9 MB / 239.8 MB, free: 4.523 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.9998/0.9998, allocations: 143 MB / 433 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001245, allocations: 59.91 kB / 0.5135 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.197, allocations: 82.03 MB / 0.5936 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.008209/0.2052, allocations: 4.052 MB / 0.5975 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002876/0.2056, allocations: 163.5 kB / 0.5977 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.2056, allocations: 0 / 0.5977 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.2058, allocations: 3.938 kB / 0.5977 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.798e-05/0.2059, allocations: 15.91 kB / 0.5977 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.2063, allocations: 79.75 kB / 0.5978 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.2064, allocations: 59.81 kB / 0.5979 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.2065, allocations: 0 / 0.5979 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.353e-05/0.2065, allocations: 19.94 kB / 0.5979 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.2066, allocations: 7.984 kB / 0.5979 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.2067, allocations: 7.938 kB / 0.5979 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.207, allocations: 75.77 kB / 0.598 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/0.2071, allocations: 4 kB / 0.598 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.2071, allocations: 15.92 kB / 0.598 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.2073, allocations: 43.89 kB / 0.598 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2073, allocations: 0 / 0.598 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2073, allocations: 4 kB / 0.598 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2073, allocations: 0 / 0.598 GB, free: 5.523 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.0004989/0.2078, allocations: 339.7 kB / 0.5983 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2079, allocations: 12.03 kB / 0.5984 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.208, allocations: 0.9375 kB / 0.5984 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2081, allocations: 160.4 kB / 0.5985 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-05/0.2082, allocations: 38.25 kB / 0.5985 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.2082, allocations: 384 / 0.5985 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.2084, allocations: 49.61 kB / 0.5986 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2084, allocations: 7.938 kB / 0.5986 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.2085, allocations: 4 kB / 0.5986 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.2085, allocations: 0 / 0.5986 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.215e-05/0.2086, allocations: 15.98 kB / 0.5986 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.2091, allocations: 334 kB / 0.5989 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.401e-05/0.2092, allocations: 18.58 kB / 0.599 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.2092, allocations: 12.84 kB / 0.599 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.2093, allocations: 81.17 kB / 0.599 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.2094, allocations: 42.48 kB / 0.5991 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.2094, allocations: 0 / 0.5991 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001854/0.2096, allocations: 33.7 kB / 0.5991 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.2096, allocations: 51.41 kB / 0.5992 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.511e-05/0.2097, allocations: 105.8 kB / 0.5993 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.2098, allocations: 29.83 kB / 0.5993 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.2098, allocations: 87.98 kB / 0.5994 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.2099, allocations: 3.906 kB / 0.5994 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.2099, allocations: 17.72 kB / 0.5994 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2101, allocations: 318.8 kB / 0.5997 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.181e-05/0.2101, allocations: 4 kB / 0.5997 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.759e-05/0.2101, allocations: 21.66 kB / 0.5997 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.339e-05/0.2102, allocations: 25.72 kB / 0.5998 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2102, allocations: 0 / 0.5998 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000131/0.2104, allocations: 49.62 kB / 0.5998 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2104, allocations: 4 kB / 0.5998 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.2104, allocations: 4 kB / 0.5998 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2104, allocations: 0 / 0.5998 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.877e-05/0.2105, allocations: 7.984 kB / 0.5998 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2105, allocations: 4 kB / 0.5998 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/0.2106, allocations: 4 kB / 0.5998 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.2106, allocations: 7.938 kB / 0.5998 GB, free: 3.391 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 9.62e-05/0.2107, allocations: 113.8 kB / 0.5999 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.2107, allocations: 4 kB / 0.5999 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.2109, allocations: 124.8 kB / 0.6001 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.551e-05/0.211, allocations: 176.3 kB / 0.6002 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.843e-05/0.2111, allocations: 184.2 kB / 0.6004 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.181e-05/0.2112, allocations: 184.3 kB / 0.6006 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.2115, allocations: 405.2 kB / 0.601 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-05/0.2116, allocations: 104.9 kB / 0.6011 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.2116, allocations: 109 kB / 0.6012 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.04e-05/0.2117, allocations: 188.2 kB / 0.6014 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.301e-05/0.2118, allocations: 176.3 kB / 0.6015 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.255e-05/0.2119, allocations: 176.3 kB / 0.6017 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.584e-05/0.212, allocations: 184.2 kB / 0.6019 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.2122, allocations: 315.7 kB / 0.6022 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.199e-05/0.2123, allocations: 178.1 kB / 0.6023 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.2124, allocations: 176.3 kB / 0.6025 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.2127, allocations: 120.9 kB / 0.6026 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.2128, allocations: 180.3 kB / 0.6028 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/0.2128, allocations: 104.9 kB / 0.6029 GB, free: 36 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.289/0.5018, allocations: 91.27 kB / 0.603 GB, free: 44.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.41e-07/0.5019, allocations: 0 / 0.603 GB, free: 44.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003446/0.5022, allocations: 10.06 kB / 0.603 GB, free: 44.98 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.0002853/0.5025, allocations: 198.1 kB / 0.6032 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.087e-05/0.5026, allocations: 7.141 kB / 0.6032 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5026, allocations: 0 / 0.6032 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.5026, allocations: 3.938 kB / 0.6032 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.503, allocations: 0.5278 MB / 0.6037 GB, free: 44.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.5033, allocations: 177 kB / 0.6039 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.403e-05/0.5034, allocations: 0.6748 MB / 0.6045 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.568e-05/0.5034, allocations: 10.25 kB / 0.6045 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.519e-05/0.5034, allocations: 11.7 kB / 0.6046 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.5035, allocations: 0 / 0.6046 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.002641/0.5061, allocations: 0.6211 MB / 0.6052 GB, free: 43.42 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)