Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001528/0.001528, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002244/0.002244, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.499/1.499, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.78 kB / 0.9115 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3291, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004501/0.3337, allocations: 3.336 MB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 8.916e-05/0.3338, allocations: 55.81 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.3338, allocations: 0 / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.184e-05/0.3339, allocations: 3.984 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.975e-05/0.334, allocations: 15.92 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.3345, allocations: 171.4 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.278e-05/0.3346, allocations: 31.91 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.259e-05/0.3346, allocations: 4 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.3347, allocations: 23.91 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.659e-05/0.3347, allocations: 15.94 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.3348, allocations: 0 / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003133/0.3351, allocations: 167.6 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.3351, allocations: 15.91 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.3352, allocations: 11.94 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.3354, allocations: 136 kB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3354, allocations: 0 / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3354, allocations: 0 / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.3354, allocations: 0 / 1.072 GB, free: 6.844 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.0003921/0.3358, allocations: 351.5 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3359, allocations: 8.031 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.3359, allocations: 12.78 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.336, allocations: 164.4 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.728e-05/0.3361, allocations: 30.2 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.3361, allocations: 384 / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.3363, allocations: 53.61 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.3363, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3363, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.3363, allocations: 4 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.86e-05/0.3364, allocations: 19.98 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006337/0.337, allocations: 0.5755 MB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.075e-05/0.3371, allocations: 18.52 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/0.3371, allocations: 8.922 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/0.3373, allocations: 344.4 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.3374, allocations: 34.56 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/0.3374, allocations: 4 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001372/0.3375, allocations: 29.7 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.3376, allocations: 59.34 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.3377, allocations: 101.8 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.3377, allocations: 25.7 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.3377, allocations: 88.05 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-06/0.3377, allocations: 3.906 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.3378, allocations: 21.83 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3379, allocations: 322.8 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.3379, allocations: 0 / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.3379, allocations: 21.7 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.426e-05/0.338, allocations: 21.72 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.338, allocations: 4 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.783e-05/0.3381, allocations: 49.62 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3381, allocations: 4 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.3381, allocations: 4 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3381, allocations: 3.938 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.709e-05/0.3382, allocations: 4 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3382, allocations: 0 / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.3382, allocations: 3.938 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3382, allocations: 7.938 kB / 1.074 GB, free: 4.09 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 8.339e-05/0.3383, allocations: 117.8 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.3384, allocations: 7.984 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.3385, allocations: 118.1 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.124e-05/0.3385, allocations: 176.3 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.344e-05/0.3386, allocations: 180.2 kB / 1.074 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.578e-05/0.3387, allocations: 184.2 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.3389, allocations: 413.1 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.864e-05/0.339, allocations: 101 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/0.339, allocations: 108.9 kB / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.663e-05/0.3391, allocations: 176.5 kB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.707e-05/0.3391, allocations: 176.3 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.65e-05/0.3392, allocations: 196.2 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.775e-05/0.3393, allocations: 180.5 kB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.3394, allocations: 315.6 kB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.3395, allocations: 186.1 kB / 1.076 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/0.3396, allocations: 184.2 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.3397, allocations: 109 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.3398, allocations: 180.2 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.3399, allocations: 109 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.882e-05/0.3399, allocations: 83.28 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3399, allocations: 0 / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002813/0.3402, allocations: 28 kB / 1.077 GB, free: 0.6133 MB / 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.0002811/0.3405, allocations: 244.3 kB / 1.077 GB, free: 372 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.78e-05/0.3406, allocations: 12 kB / 1.077 GB, free: 360 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3406, allocations: 4.062 kB / 1.077 GB, free: 356 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3406, allocations: 3.938 kB / 1.077 GB, free: 352 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.341, allocations: 459.7 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.3413, allocations: 181.9 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.3415, allocations: 0.6729 MB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.665e-05/0.3416, allocations: 5.828 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.661e-05/0.3416, allocations: 11.44 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3416, allocations: 0 / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of Templates: time 0.003756/0.3454, allocations: 1.223 MB / 1.08 GB, free: 13.8 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)