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.00111/0.00111, allocations: 115 kB / 16.37 MB, free: 6.016 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.001191/0.001191, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.01 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.8584/0.8584, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.89 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3848, allocations: 82.03 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003656/0.3885, allocations: 3.292 MB / 0.5989 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 7.35e-05/0.3886, allocations: 48.45 kB / 0.599 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.147e-05/0.3886, allocations: 0 / 0.599 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.757e-05/0.3887, allocations: 5.438 kB / 0.599 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.948e-05/0.3888, allocations: 11.97 kB / 0.599 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.3893, allocations: 192.3 kB / 0.5992 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.101e-05/0.3893, allocations: 35.78 kB / 0.5992 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.023e-05/0.3894, allocations: 1.5 kB / 0.5992 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.238e-05/0.3894, allocations: 19.98 kB / 0.5992 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.3895, allocations: 7.984 kB / 0.5992 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.3895, allocations: 4 kB / 0.5992 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.3898, allocations: 172.5 kB / 0.5994 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.986e-05/0.3898, allocations: 7.922 kB / 0.5994 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.3899, allocations: 13.08 kB / 0.5994 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.3901, allocations: 139.5 kB / 0.5995 GB, free: 12.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3901, allocations: 0 / 0.5995 GB, free: 12.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3901, allocations: 1.438 kB / 0.5995 GB, free: 12.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.3901, allocations: 0 / 0.5995 GB, free: 12.21 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.0002962/0.3904, allocations: 337.4 kB / 0.5999 GB, free: 11.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.3905, allocations: 8.719 kB / 0.5999 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.3905, allocations: 8.844 kB / 0.5999 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.249e-05/0.3906, allocations: 165.8 kB / 0.6 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.3906, allocations: 26.27 kB / 0.6001 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.3906, allocations: 4.375 kB / 0.6001 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.3908, allocations: 51.06 kB / 0.6001 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3908, allocations: 0 / 0.6001 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3908, allocations: 3.984 kB / 0.6001 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.3908, allocations: 12.48 kB / 0.6001 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.83e-05/0.3909, allocations: 17.48 kB / 0.6001 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.3913, allocations: 0.5794 MB / 0.6007 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.019e-05/0.3913, allocations: 31.95 kB / 0.6007 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.237e-05/0.3914, allocations: 4.859 kB / 0.6007 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.3915, allocations: 341.2 kB / 0.6011 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.3915, allocations: 35.34 kB / 0.6011 GB, free: 10.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.3915, allocations: 3.062 kB / 0.6011 GB, free: 10.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001219/0.3917, allocations: 33.7 kB / 0.6011 GB, free: 10.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.781e-05/0.3917, allocations: 51.41 kB / 0.6012 GB, free: 10.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.316e-05/0.3918, allocations: 109.8 kB / 0.6013 GB, free: 10.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.3918, allocations: 25.7 kB / 0.6013 GB, free: 10.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.3918, allocations: 84.05 kB / 0.6014 GB, free: 9.969 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.07e-06/0.3918, allocations: 13.34 kB / 0.6014 GB, free: 9.957 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.3918, allocations: 21.7 kB / 0.6014 GB, free: 9.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.132e-05/0.3919, allocations: 314.8 kB / 0.6017 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/0.3919, allocations: 1.344 kB / 0.6017 GB, free: 9.613 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.257e-05/0.3919, allocations: 13.72 kB / 0.6017 GB, free: 9.594 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/0.392, allocations: 27.83 kB / 0.6018 GB, free: 9.562 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.392, allocations: 0 / 0.6018 GB, free: 9.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.276e-05/0.392, allocations: 50.97 kB / 0.6018 GB, free: 9.508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.3921, allocations: 10.03 kB / 0.6018 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3921, allocations: 0 / 0.6018 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3921, allocations: 0 / 0.6018 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.96e-05/0.3921, allocations: 5.531 kB / 0.6018 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3921, allocations: 0 / 0.6018 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.3922, allocations: 4 kB / 0.6018 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.3922, allocations: 0 / 0.6018 GB, free: 9.492 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.388e-05/0.3922, allocations: 115.1 kB / 0.602 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.3923, allocations: 4 kB / 0.602 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.569e-05/0.3923, allocations: 122.2 kB / 0.6021 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.3924, allocations: 177.3 kB / 0.6022 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.233e-05/0.3924, allocations: 185.1 kB / 0.6024 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-05/0.3924, allocations: 184.2 kB / 0.6026 GB, free: 8.688 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.3926, allocations: 418.4 kB / 0.603 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.3926, allocations: 106.5 kB / 0.6031 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.206e-05/0.3926, allocations: 104.9 kB / 0.6032 GB, free: 8.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.141e-05/0.3926, allocations: 184.2 kB / 0.6034 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3926, allocations: 177.6 kB / 0.6035 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.025e-05/0.3927, allocations: 185.6 kB / 0.6037 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.897e-05/0.3927, allocations: 180.4 kB / 0.6039 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.181e-05/0.3928, allocations: 313.1 kB / 0.6042 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.3928, allocations: 183 kB / 0.6044 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.3928, allocations: 189.2 kB / 0.6045 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.393, allocations: 101 kB / 0.6046 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.393, allocations: 181.8 kB / 0.6048 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.393, allocations: 108.9 kB / 0.6049 GB, free: 6.141 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.583e-05/0.393, allocations: 84.61 kB / 0.605 GB, free: 6.059 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.393, allocations: 0 / 0.605 GB, free: 6.059 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.3933, allocations: 35.94 kB / 0.605 GB, free: 6.023 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.0001902/0.3935, allocations: 234.8 kB / 0.6053 GB, free: 5.785 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.547e-05/0.3936, allocations: 9.5 kB / 0.6053 GB, free: 5.777 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3936, allocations: 7.938 kB / 0.6053 GB, free: 5.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.3936, allocations: 0 / 0.6053 GB, free: 5.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.3939, allocations: 465 kB / 0.6057 GB, free: 5.316 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001819/0.3941, allocations: 189.8 kB / 0.6059 GB, free: 5.102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.698e-05/0.3942, allocations: 0.6777 MB / 0.6066 GB, free: 4.398 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.434e-05/0.3942, allocations: 5.25 kB / 0.6066 GB, free: 4.395 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.303e-05/0.3942, allocations: 11.44 kB / 0.6066 GB, free: 4.387 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3943, allocations: 0.5938 kB / 0.6066 GB, free: 4.387 MB / 446.1 MB Notification: Performance of Templates: time 0.003157/0.3974, allocations: 1.254 MB / 0.6078 GB, free: 3.242 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)