Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001079, allocations: 109.2 kB / 16.37 MB, free: 6.473 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.001098/0.001098, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.2 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.8511/0.8511, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 67.88 kB / 0.5156 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3219, allocations: 82.03 MB / 0.5957 GB, free: 16.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004143/0.3261, allocations: 3.283 MB / 0.5989 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 9.714e-05/0.3262, allocations: 61.06 kB / 0.599 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.899e-05/0.3262, allocations: 0 / 0.599 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.95e-05/0.3263, allocations: 4.438 kB / 0.599 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.247e-05/0.3264, allocations: 13.08 kB / 0.599 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.327, allocations: 178.3 kB / 0.5991 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.294e-05/0.3271, allocations: 43.78 kB / 0.5992 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.3272, allocations: 0 / 0.5992 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.3272, allocations: 11.98 kB / 0.5992 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.902e-05/0.3273, allocations: 20.5 kB / 0.5992 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.3273, allocations: 0 / 0.5992 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.3277, allocations: 169 kB / 0.5994 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.3277, allocations: 11.92 kB / 0.5994 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.3278, allocations: 7.938 kB / 0.5994 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.328, allocations: 138.2 kB / 0.5995 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3281, allocations: 4 kB / 0.5995 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3281, allocations: 0.8438 kB / 0.5995 GB, free: 12.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.3281, allocations: 0 / 0.5995 GB, free: 12.39 MB / 446.1 MB 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.0003611/0.3284, allocations: 344.3 kB / 0.5999 GB, free: 12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3285, allocations: 9.156 kB / 0.5999 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.3285, allocations: 4.844 kB / 0.5999 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.524e-05/0.3286, allocations: 164.4 kB / 0.6 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.3287, allocations: 31.67 kB / 0.6001 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.3287, allocations: 384 / 0.6001 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3288, allocations: 51.31 kB / 0.6001 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3288, allocations: 7.922 kB / 0.6001 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3289, allocations: 0 / 0.6001 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.3289, allocations: 0 / 0.6001 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.367e-05/0.3289, allocations: 11.98 kB / 0.6001 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.3294, allocations: 0.5906 MB / 0.6007 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.914e-05/0.3295, allocations: 22.45 kB / 0.6007 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.409e-05/0.3295, allocations: 8.922 kB / 0.6007 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.3297, allocations: 340.4 kB / 0.6011 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.3297, allocations: 31.47 kB / 0.6011 GB, free: 10.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 2.034e-06/0.3297, allocations: 1.344 kB / 0.6011 GB, free: 10.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.3298, allocations: 37.69 kB / 0.6011 GB, free: 10.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.905e-05/0.3299, allocations: 55.41 kB / 0.6012 GB, free: 10.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.235e-05/0.3299, allocations: 107.2 kB / 0.6013 GB, free: 10.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.3299, allocations: 25.7 kB / 0.6013 GB, free: 10.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.33, allocations: 96.02 kB / 0.6014 GB, free: 10.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-06/0.33, allocations: 4.469 kB / 0.6014 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.33, allocations: 15.31 kB / 0.6014 GB, free: 10.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.39e-05/0.3301, allocations: 318.8 kB / 0.6017 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.3301, allocations: 7.984 kB / 0.6017 GB, free: 9.781 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/0.3301, allocations: 15.12 kB / 0.6017 GB, free: 9.762 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.734e-05/0.3301, allocations: 22.47 kB / 0.6018 GB, free: 9.734 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3301, allocations: 1.406 kB / 0.6018 GB, free: 9.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.456e-05/0.3302, allocations: 49.62 kB / 0.6018 GB, free: 9.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3302, allocations: 5.562 kB / 0.6018 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3302, allocations: 1.406 kB / 0.6018 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3302, allocations: 4 kB / 0.6018 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.123e-05/0.3303, allocations: 4 kB / 0.6018 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3303, allocations: 4.766 kB / 0.6018 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.3303, allocations: 0 / 0.6018 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3303, allocations: 5.5 kB / 0.6018 GB, free: 9.66 MB / 446.1 MB 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 4.18e-05/0.3304, allocations: 113.7 kB / 0.6019 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.3304, allocations: 4.281 kB / 0.602 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.554e-05/0.3305, allocations: 117.9 kB / 0.6021 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/0.3305, allocations: 185.3 kB / 0.6022 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/0.3306, allocations: 181.7 kB / 0.6024 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.3306, allocations: 176.3 kB / 0.6026 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.3307, allocations: 421.7 kB / 0.603 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.3307, allocations: 102.3 kB / 0.6031 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.3307, allocations: 104.9 kB / 0.6032 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.875e-05/0.3308, allocations: 190.8 kB / 0.6034 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.3308, allocations: 180.3 kB / 0.6035 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.92e-05/0.3308, allocations: 184.2 kB / 0.6037 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-05/0.3308, allocations: 181.7 kB / 0.6039 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.94e-05/0.3309, allocations: 321.2 kB / 0.6042 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.3309, allocations: 178.1 kB / 0.6044 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.331, allocations: 181.5 kB / 0.6045 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.3311, allocations: 109 kB / 0.6046 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.3311, allocations: 181.2 kB / 0.6048 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3311, allocations: 102.1 kB / 0.6049 GB, free: 6.312 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.573e-05/0.3312, allocations: 87.28 kB / 0.605 GB, free: 6.227 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3312, allocations: 0 / 0.605 GB, free: 6.227 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.3315, allocations: 37.36 kB / 0.605 GB, free: 6.191 MB / 446.1 MB 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.000198/0.3317, allocations: 232.9 kB / 0.6053 GB, free: 5.957 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.432e-05/0.3317, allocations: 11.94 kB / 0.6053 GB, free: 5.945 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3317, allocations: 0.9688 kB / 0.6053 GB, free: 5.945 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.3317, allocations: 0 / 0.6053 GB, free: 5.945 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.3321, allocations: 468.6 kB / 0.6057 GB, free: 5.488 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002049/0.3323, allocations: 190.5 kB / 0.6059 GB, free: 5.273 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.702e-05/0.3324, allocations: 0.6768 MB / 0.6066 GB, free: 4.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.473e-05/0.3324, allocations: 6.594 kB / 0.6066 GB, free: 4.566 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.316e-05/0.3324, allocations: 7.438 kB / 0.6066 GB, free: 4.562 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3324, allocations: 0 / 0.6066 GB, free: 4.562 MB / 446.1 MB Notification: Performance of Templates: time 0.003197/0.3356, allocations: 1.262 MB / 0.6078 GB, free: 3.402 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)