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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.001653/0.001653, allocations: 109.6 kB / 15.99 MB, free: 6.367 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.001753/0.001754, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.427/1.427, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9013/0.9013, allocations: 143.3 MB / 434.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.89 kB / 0.5146 GB, free: 15.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3186, allocations: 82.03 MB / 0.5947 GB, free: 16.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003727/0.3223, allocations: 3.34 MB / 0.598 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 7.27e-05/0.3224, allocations: 49.5 kB / 0.598 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.3225, allocations: 3.938 kB / 0.598 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.3226, allocations: 3.984 kB / 0.598 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.3227, allocations: 13.3 kB / 0.598 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.3231, allocations: 177.5 kB / 0.5982 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.46e-05/0.3232, allocations: 27.91 kB / 0.5982 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.3232, allocations: 4 kB / 0.5982 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.338e-05/0.3233, allocations: 21.36 kB / 0.5982 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.3233, allocations: 15.92 kB / 0.5983 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.3233, allocations: 0 / 0.5983 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.3236, allocations: 172.3 kB / 0.5984 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.3237, allocations: 7.984 kB / 0.5984 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.3237, allocations: 17.42 kB / 0.5984 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.3238, allocations: 85.86 kB / 0.5985 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3239, allocations: 0 / 0.5985 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3239, allocations: 0 / 0.5985 GB, free: 12.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3239, allocations: 1 kB / 0.5985 GB, free: 12.14 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.0002996/0.3242, allocations: 343.5 kB / 0.5989 GB, free: 11.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.3242, allocations: 9.094 kB / 0.5989 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.3243, allocations: 8.844 kB / 0.5989 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.206e-05/0.3243, allocations: 173.8 kB / 0.599 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.3244, allocations: 26.27 kB / 0.5991 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.3244, allocations: 8.312 kB / 0.5991 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.3245, allocations: 50.34 kB / 0.5991 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.3245, allocations: 0 / 0.5991 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3246, allocations: 1.344 kB / 0.5991 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.3246, allocations: 0 / 0.5991 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.926e-05/0.3246, allocations: 19.97 kB / 0.5991 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.3251, allocations: 0.5819 MB / 0.5997 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.066e-05/0.3252, allocations: 22.52 kB / 0.5997 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.244e-05/0.3252, allocations: 4.859 kB / 0.5997 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.3253, allocations: 341.8 kB / 0.6001 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.3253, allocations: 38.55 kB / 0.6001 GB, free: 10.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3253, allocations: 1.531 kB / 0.6001 GB, free: 10.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001234/0.3255, allocations: 37.58 kB / 0.6001 GB, free: 10.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.3255, allocations: 56.75 kB / 0.6002 GB, free: 10.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.014e-05/0.3256, allocations: 105.8 kB / 0.6003 GB, free: 10.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.3256, allocations: 25.7 kB / 0.6003 GB, free: 9.977 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.3256, allocations: 89.08 kB / 0.6004 GB, free: 9.887 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-06/0.3256, allocations: 3.906 kB / 0.6004 GB, free: 9.883 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.3256, allocations: 14.78 kB / 0.6004 GB, free: 9.863 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.3257, allocations: 326.8 kB / 0.6007 GB, free: 9.535 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.3257, allocations: 1.469 kB / 0.6007 GB, free: 9.535 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.673e-05/0.3257, allocations: 13.72 kB / 0.6007 GB, free: 9.516 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.953e-05/0.3258, allocations: 27.02 kB / 0.6008 GB, free: 9.484 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3258, allocations: 3.938 kB / 0.6008 GB, free: 9.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.047e-05/0.3259, allocations: 43.02 kB / 0.6008 GB, free: 9.434 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.3259, allocations: 8 kB / 0.6008 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.3259, allocations: 1.312 kB / 0.6008 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3259, allocations: 3.984 kB / 0.6008 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.975e-05/0.326, allocations: 4 kB / 0.6008 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.326, allocations: 0 / 0.6008 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.326, allocations: 12.88 kB / 0.6008 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.326, allocations: 0 / 0.6008 GB, free: 9.406 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.741e-05/0.3261, allocations: 117.4 kB / 0.601 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.3261, allocations: 1.5 kB / 0.601 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.3262, allocations: 121 kB / 0.6011 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/0.3262, allocations: 181.5 kB / 0.6012 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.206e-05/0.3262, allocations: 180.3 kB / 0.6014 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/0.3263, allocations: 177.7 kB / 0.6016 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.3264, allocations: 417 kB / 0.602 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.3264, allocations: 106.3 kB / 0.6021 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.341e-05/0.3264, allocations: 108.9 kB / 0.6022 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.183e-05/0.3265, allocations: 177.5 kB / 0.6024 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.3265, allocations: 176.3 kB / 0.6025 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.816e-05/0.3265, allocations: 185.5 kB / 0.6027 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.508e-05/0.3265, allocations: 181.2 kB / 0.6029 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.781e-05/0.3266, allocations: 309.1 kB / 0.6032 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.3267, allocations: 183.4 kB / 0.6033 GB, free: 6.668 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.3267, allocations: 180.2 kB / 0.6035 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3268, allocations: 113.7 kB / 0.6036 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.3269, allocations: 181.2 kB / 0.6038 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.3269, allocations: 105 kB / 0.6039 GB, free: 6.074 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.735e-05/0.3269, allocations: 88.2 kB / 0.604 GB, free: 5.988 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3269, allocations: 0 / 0.604 GB, free: 5.988 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.3272, allocations: 33.25 kB / 0.604 GB, free: 5.957 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.0002183/0.3274, allocations: 245.9 kB / 0.6042 GB, free: 5.711 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.536e-05/0.3275, allocations: 15.92 kB / 0.6043 GB, free: 5.695 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3275, allocations: 0 / 0.6043 GB, free: 5.695 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.3275, allocations: 4 kB / 0.6043 GB, free: 5.691 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.3279, allocations: 465.5 kB / 0.6047 GB, free: 5.234 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002201/0.3281, allocations: 217 kB / 0.6049 GB, free: 4.988 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.162e-05/0.3282, allocations: 0.6737 MB / 0.6056 GB, free: 4.289 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.3282, allocations: 19.36 kB / 0.6056 GB, free: 4.273 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3282, allocations: 1.156 kB / 0.6056 GB, free: 4.273 MB / 446.1 MB Notification: Performance of Templates: time 0.00263/0.3309, allocations: 1.242 MB / 0.6068 GB, free: 3.094 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)