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.0009324/0.0009324, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006966/0.006967, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.435/1.435, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.944/2.944, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004411, allocations: 9 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3244, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00403/0.3285, allocations: 2.993 MB / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001023/0.3286, allocations: 55.84 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.686e-05/0.3286, allocations: 0 / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.8e-05/0.3287, allocations: 0 / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.312e-05/0.3288, allocations: 15.91 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.3293, allocations: 171.3 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.75e-05/0.3294, allocations: 59.81 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.3295, allocations: 3.984 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.889e-05/0.3295, allocations: 12 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.596e-05/0.3296, allocations: 11.92 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.3296, allocations: 4 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003287/0.3299, allocations: 179.5 kB / 1.078 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.33, allocations: 4 kB / 1.078 GB, free: 4 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.979e-05/0.33, allocations: 41.62 kB / 1.078 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.3303, allocations: 132 kB / 1.078 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3303, allocations: 0 / 1.078 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3303, allocations: 3.938 kB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.3303, allocations: 0 / 1.078 GB, free: 3.82 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.0003928/0.3307, allocations: 335.5 kB / 1.078 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3308, allocations: 16.03 kB / 1.078 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3308, allocations: 4.875 kB / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.3309, allocations: 168.2 kB / 1.078 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.922e-05/0.331, allocations: 34.25 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.331, allocations: 384 / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.3311, allocations: 45.62 kB / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3312, allocations: 0 / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.3312, allocations: 4 kB / 1.078 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.3312, allocations: 0 / 1.078 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.867e-05/0.3312, allocations: 23.92 kB / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/0.3319, allocations: 0.5794 MB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.488e-05/0.332, allocations: 14.58 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.332, allocations: 4.859 kB / 1.079 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002588/0.3323, allocations: 344.5 kB / 1.079 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3323, allocations: 34.56 kB / 1.079 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3323, allocations: 0 / 1.079 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001627/0.3325, allocations: 41.62 kB / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.3325, allocations: 51.41 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.3326, allocations: 101.8 kB / 1.079 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3326, allocations: 25.7 kB / 1.079 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.3327, allocations: 92.05 kB / 1.08 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-06/0.3327, allocations: 3.906 kB / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.3327, allocations: 9.844 kB / 1.08 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3329, allocations: 318.8 kB / 1.08 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.3329, allocations: 4 kB / 1.08 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.617e-05/0.3329, allocations: 21.7 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.703e-05/0.333, allocations: 25.66 kB / 1.08 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.333, allocations: 0 / 1.08 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.608e-05/0.3331, allocations: 45.69 kB / 1.08 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3331, allocations: 4 kB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3331, allocations: 0 / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3331, allocations: 7.938 kB / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.234e-05/0.3332, allocations: 7.938 kB / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3332, allocations: 0 / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.3332, allocations: 7.938 kB / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3332, allocations: 7.984 kB / 1.08 GB, free: 1.086 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 7.269e-05/0.3333, allocations: 109.8 kB / 1.08 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.3333, allocations: 8.344 kB / 1.08 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.3335, allocations: 115.6 kB / 1.08 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.764e-05/0.3336, allocations: 196.2 kB / 1.08 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.395e-05/0.3336, allocations: 176.3 kB / 1.081 GB, free: 472 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001431/0.3338, allocations: 180.2 kB / 1.081 GB, free: 284 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.334, allocations: 417.2 kB / 1.081 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.023e-05/0.3341, allocations: 101 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.3341, allocations: 108.9 kB / 1.081 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.859e-05/0.3342, allocations: 180.3 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/0.3342, allocations: 184.2 kB / 1.082 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-05/0.3343, allocations: 176.3 kB / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.615e-05/0.3344, allocations: 188.4 kB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.3345, allocations: 303.8 kB / 1.082 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.001e-05/0.3346, allocations: 197.9 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.429e-05/0.3347, allocations: 176.3 kB / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.3348, allocations: 113 kB / 1.083 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.3349, allocations: 184.2 kB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.47e-05/0.335, allocations: 105 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.469e-05/0.3351, allocations: 87.27 kB / 1.083 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3351, allocations: 0 / 1.083 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002861/0.3354, allocations: 32 kB / 1.083 GB, free: 13.6 MB / 0.8419 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.0003043/0.3357, allocations: 234.4 kB / 1.083 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.814e-05/0.3357, allocations: 15.92 kB / 1.083 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3358, allocations: 128 / 1.083 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.3358, allocations: 7.938 kB / 1.083 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.3363, allocations: 0.5224 MB / 1.084 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.3365, allocations: 187.8 kB / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.3368, allocations: 0.6731 MB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.564e-05/0.3369, allocations: 9.812 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.797e-05/0.3369, allocations: 11.44 kB / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3369, allocations: 0 / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.003838/0.3408, allocations: 1.18 MB / 1.086 GB, free: 10.74 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)