Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001194/0.001194, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.81/2.81, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.7 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3112, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004394/0.3156, allocations: 3.286 MB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.331e-05/0.3158, allocations: 51.84 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.3158, allocations: 0 / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.613e-05/0.3159, allocations: 3.938 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.591e-05/0.316, allocations: 11.98 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.3165, allocations: 187.2 kB / 1.072 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.01e-05/0.3165, allocations: 31.84 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.3166, allocations: 8 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/0.3166, allocations: 11.98 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.3167, allocations: 11.92 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3167, allocations: 8 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.317, allocations: 171.6 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.3171, allocations: 3.984 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.3171, allocations: 15.92 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.3174, allocations: 136 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3174, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3174, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.3174, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 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.0003415/0.3177, allocations: 343.5 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.3178, allocations: 12.03 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.3178, allocations: 12.78 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.967e-05/0.3179, allocations: 160.4 kB / 1.073 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/0.318, allocations: 30.27 kB / 1.073 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-06/0.318, allocations: 4.375 kB / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.3181, allocations: 45.56 kB / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3181, allocations: 0 / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3182, allocations: 0 / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.3182, allocations: 7.984 kB / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.355e-05/0.3182, allocations: 16 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.3188, allocations: 0.5755 MB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.554e-05/0.3188, allocations: 22.58 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.3189, allocations: 12.8 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.3191, allocations: 352.4 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.3191, allocations: 38.56 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3191, allocations: 3.938 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001275/0.3193, allocations: 33.7 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.3193, allocations: 51.41 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.813e-05/0.3194, allocations: 105.8 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.3194, allocations: 25.7 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.3194, allocations: 84.05 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-06/0.3194, allocations: 7.906 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.3195, allocations: 25.83 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.3196, allocations: 314.8 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.3196, allocations: 3.938 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.293e-05/0.3196, allocations: 21.7 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.332e-05/0.3197, allocations: 21.72 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3197, allocations: 0 / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.782e-05/0.3198, allocations: 53.62 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.3198, allocations: 8 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3198, allocations: 0 / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.3198, allocations: 3.938 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.069e-05/0.3198, allocations: 4 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.3199, allocations: 0 / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.3199, allocations: 7.938 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.3199, allocations: 0 / 1.074 GB, free: 3.715 MB / 0.8262 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 6.487e-05/0.32, allocations: 121.8 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.32, allocations: 4 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.976e-05/0.3201, allocations: 118.9 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.744e-05/0.3202, allocations: 176.3 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-05/0.3202, allocations: 184.2 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.325e-05/0.3203, allocations: 184.3 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.3205, allocations: 405.2 kB / 1.075 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-05/0.3205, allocations: 109 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.3205, allocations: 105 kB / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.252e-05/0.3206, allocations: 184.2 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.3206, allocations: 176.3 kB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.312e-05/0.3207, allocations: 192.2 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-05/0.3208, allocations: 176.3 kB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.3209, allocations: 311.6 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.321, allocations: 182.1 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.781e-05/0.321, allocations: 188.2 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.3212, allocations: 105 kB / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.3212, allocations: 180.3 kB / 1.077 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.3213, allocations: 112.9 kB / 1.077 GB, free: 360 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.3213, allocations: 83.28 kB / 1.077 GB, free: 276 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3213, allocations: 0 / 1.077 GB, free: 276 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002708/0.3216, allocations: 35.94 kB / 1.077 GB, free: 240 kB / 0.8262 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.0002489/0.3219, allocations: 238.9 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.114e-05/0.3219, allocations: 8 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3219, allocations: 4.125 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.322, allocations: 7.875 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.3224, allocations: 457.9 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.3226, allocations: 181.9 kB / 1.078 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.3228, allocations: 0.6807 MB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.3228, allocations: 5.828 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.3229, allocations: 7.438 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.3229, allocations: 4 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.003325/0.3262, allocations: 1.217 MB / 1.08 GB, free: 13.43 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)