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.001327/0.001327, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001414/0.001415, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.227/1.227, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.8157/0.8157, allocations: 143.1 MB / 434.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.88 kB / 0.5148 GB, free: 15.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3041, allocations: 82.03 MB / 0.5949 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003833/0.308, allocations: 4.005 MB / 0.5988 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001288/0.3081, allocations: 156.5 kB / 0.599 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.3082, allocations: 4 kB / 0.599 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.155e-05/0.3083, allocations: 5.125 kB / 0.599 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.121e-05/0.3083, allocations: 11.91 kB / 0.599 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.3086, allocations: 81.25 kB / 0.5991 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.257e-05/0.3087, allocations: 36.5 kB / 0.5991 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.3087, allocations: 0 / 0.5991 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.148e-05/0.3088, allocations: 17.58 kB / 0.5991 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.243e-05/0.3088, allocations: 15.92 kB / 0.5991 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.3088, allocations: 0 / 0.5991 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.309, allocations: 59.81 kB / 0.5992 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.309, allocations: 5.297 kB / 0.5992 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.3091, allocations: 7.938 kB / 0.5992 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.3092, allocations: 47.89 kB / 0.5993 GB, free: 11.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3092, allocations: 0.75 kB / 0.5993 GB, free: 11.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3092, allocations: 0 / 0.5993 GB, free: 11.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3092, allocations: 1.406 kB / 0.5993 GB, free: 11.75 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.0002797/0.3095, allocations: 340.3 kB / 0.5996 GB, free: 11.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.725e-05/0.3095, allocations: 12.03 kB / 0.5996 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.3096, allocations: 2.375 kB / 0.5996 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.834e-05/0.3096, allocations: 164.4 kB / 0.5998 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/0.3097, allocations: 34.2 kB / 0.5998 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.3097, allocations: 1.125 kB / 0.5998 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.829e-05/0.3098, allocations: 47.12 kB / 0.5998 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3098, allocations: 0 / 0.5998 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3098, allocations: 11.92 kB / 0.5998 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.3098, allocations: 0 / 0.5998 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.81e-05/0.3099, allocations: 21.05 kB / 0.5999 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.3102, allocations: 339 kB / 0.6002 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.681e-05/0.3102, allocations: 16.08 kB / 0.6002 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.204e-05/0.3103, allocations: 8.922 kB / 0.6002 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.79e-05/0.3103, allocations: 81.11 kB / 0.6003 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.3103, allocations: 35.27 kB / 0.6003 GB, free: 10.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.041e-06/0.3103, allocations: 1.469 kB / 0.6003 GB, free: 10.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001155/0.3105, allocations: 41.64 kB / 0.6004 GB, free: 10.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.3105, allocations: 53.81 kB / 0.6004 GB, free: 10.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.761e-05/0.3105, allocations: 109.8 kB / 0.6005 GB, free: 10.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.353e-06/0.3106, allocations: 25.7 kB / 0.6005 GB, free: 10.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.275e-05/0.3106, allocations: 84.05 kB / 0.6006 GB, free: 10.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-06/0.3106, allocations: 3.906 kB / 0.6006 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.3106, allocations: 19.06 kB / 0.6006 GB, free: 10.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.254e-05/0.3107, allocations: 318.8 kB / 0.601 GB, free: 9.781 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.3107, allocations: 4 kB / 0.601 GB, free: 9.777 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.575e-05/0.3107, allocations: 15.25 kB / 0.601 GB, free: 9.758 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.597e-05/0.3107, allocations: 30.98 kB / 0.601 GB, free: 9.723 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3107, allocations: 0 / 0.601 GB, free: 9.723 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.513e-05/0.3108, allocations: 42.86 kB / 0.601 GB, free: 9.676 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.3108, allocations: 4 kB / 0.601 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.3108, allocations: 3.938 kB / 0.6011 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3108, allocations: 8.922 kB / 0.6011 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.54e-05/0.3109, allocations: 4 kB / 0.6011 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3109, allocations: 5.516 kB / 0.6011 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.3109, allocations: 3.938 kB / 0.6011 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.3109, allocations: 4 kB / 0.6011 GB, free: 9.645 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.138e-05/0.311, allocations: 111 kB / 0.6012 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.311, allocations: 8 kB / 0.6012 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.941e-05/0.3111, allocations: 119.2 kB / 0.6013 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.3111, allocations: 193.5 kB / 0.6015 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/0.3111, allocations: 176.3 kB / 0.6017 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.3111, allocations: 185.3 kB / 0.6018 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.3113, allocations: 406.2 kB / 0.6022 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.3113, allocations: 105 kB / 0.6023 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.037e-05/0.3113, allocations: 106.3 kB / 0.6024 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.801e-05/0.3113, allocations: 184.3 kB / 0.6026 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.3113, allocations: 185.5 kB / 0.6028 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.798e-05/0.3114, allocations: 176.3 kB / 0.6029 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.821e-05/0.3114, allocations: 181.7 kB / 0.6031 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.47e-05/0.3114, allocations: 313 kB / 0.6034 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.3115, allocations: 186 kB / 0.6036 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.3115, allocations: 177.6 kB / 0.6038 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.3116, allocations: 114.3 kB / 0.6039 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.3117, allocations: 176.3 kB / 0.604 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3117, allocations: 109.9 kB / 0.6041 GB, free: 6.297 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.548e-05/0.3117, allocations: 87.27 kB / 0.6042 GB, free: 6.211 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3117, allocations: 1.25 kB / 0.6042 GB, free: 6.211 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.312, allocations: 12 kB / 0.6042 GB, free: 6.199 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.0001668/0.3121, allocations: 203.8 kB / 0.6044 GB, free: 5.992 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.674e-05/0.3122, allocations: 12.66 kB / 0.6044 GB, free: 5.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.3122, allocations: 1 kB / 0.6044 GB, free: 5.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.3122, allocations: 0 / 0.6044 GB, free: 5.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.3125, allocations: 457.9 kB / 0.6049 GB, free: 5.531 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001834/0.3127, allocations: 212.9 kB / 0.6051 GB, free: 5.289 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.002e-05/0.3128, allocations: 0.6729 MB / 0.6057 GB, free: 4.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.595e-05/0.3128, allocations: 11.94 kB / 0.6058 GB, free: 4.582 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3128, allocations: 1.938 kB / 0.6058 GB, free: 4.582 MB / 446.1 MB Notification: Performance of Templates: time 0.001696/0.3145, allocations: 0.7609 MB / 0.6065 GB, free: 3.863 MB / 446.1 MB 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)