Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8933/0.8933, allocations: 143.4 MB / 159.2 MB, free: 4.828 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001203, allocations: 191.5 kB / 191.9 MB, free: 5.691 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 447.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 107.2 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001864/0.001864, allocations: 287.7 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 83.88 kB / 0.6886 GB, free: 3.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4211, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006589/0.4277, allocations: 3.346 MB / 0.7712 GB, free: 24.3 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001691/0.4279, allocations: 59.84 kB / 0.7713 GB, free: 24.24 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.428, allocations: 0 / 0.7713 GB, free: 24.24 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.4282, allocations: 3.938 kB / 0.7713 GB, free: 24.23 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.4283, allocations: 11.92 kB / 0.7713 GB, free: 24.22 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008175/0.4292, allocations: 171.3 kB / 0.7714 GB, free: 24.05 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.4293, allocations: 59.89 kB / 0.7715 GB, free: 24 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.4294, allocations: 3.984 kB / 0.7715 GB, free: 23.99 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.148e-05/0.4294, allocations: 11.98 kB / 0.7715 GB, free: 23.98 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.746e-05/0.4296, allocations: 23.86 kB / 0.7715 GB, free: 23.96 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.4296, allocations: 0 / 0.7715 GB, free: 23.96 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004949/0.4301, allocations: 171.5 kB / 0.7717 GB, free: 23.79 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.4302, allocations: 4 kB / 0.7717 GB, free: 23.79 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.4302, allocations: 11.92 kB / 0.7717 GB, free: 23.77 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.4306, allocations: 138.4 kB / 0.7719 GB, free: 23.64 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4306, allocations: 4 kB / 0.7719 GB, free: 23.64 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4307, allocations: 0 / 0.7719 GB, free: 23.64 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.4307, allocations: 0 / 0.7719 GB, free: 23.64 MB / 458.7 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.0004567/0.4311, allocations: 347.5 kB / 0.7722 GB, free: 23.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.4312, allocations: 8.031 kB / 0.7722 GB, free: 23.24 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.4313, allocations: 12.83 kB / 0.7722 GB, free: 23.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.403e-05/0.4314, allocations: 160.4 kB / 0.7724 GB, free: 23.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-05/0.4315, allocations: 30.27 kB / 0.7724 GB, free: 23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.4315, allocations: 4.312 kB / 0.7724 GB, free: 23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.4317, allocations: 53.61 kB / 0.7724 GB, free: 22.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4317, allocations: 0 / 0.7724 GB, free: 22.94 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.4317, allocations: 4 kB / 0.7724 GB, free: 22.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.4318, allocations: 3.984 kB / 0.7725 GB, free: 22.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.841e-05/0.4319, allocations: 8 kB / 0.7725 GB, free: 22.92 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000666/0.4325, allocations: 0.5872 MB / 0.773 GB, free: 22.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.38e-05/0.4326, allocations: 22.52 kB / 0.7731 GB, free: 22.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.4326, allocations: 8.844 kB / 0.7731 GB, free: 22.17 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002379/0.4329, allocations: 344.5 kB / 0.7734 GB, free: 21.76 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.4329, allocations: 30.56 kB / 0.7734 GB, free: 21.72 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 2.014e-06/0.4329, allocations: 3.938 kB / 0.7734 GB, free: 21.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001892/0.4331, allocations: 33.7 kB / 0.7735 GB, free: 21.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.4332, allocations: 55.39 kB / 0.7735 GB, free: 21.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.4333, allocations: 105.9 kB / 0.7736 GB, free: 21.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.4333, allocations: 25.7 kB / 0.7736 GB, free: 21.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.4334, allocations: 88.05 kB / 0.7737 GB, free: 21.38 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.061e-05/0.4334, allocations: 11.89 kB / 0.7737 GB, free: 21.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.4334, allocations: 13.72 kB / 0.7737 GB, free: 21.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.495e-05/0.4335, allocations: 314.8 kB / 0.774 GB, free: 21.03 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.4336, allocations: 4 kB / 0.774 GB, free: 21.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.4336, allocations: 29.64 kB / 0.7741 GB, free: 20.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.4336, allocations: 17.72 kB / 0.7741 GB, free: 20.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4337, allocations: 0 / 0.7741 GB, free: 20.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001074/0.4338, allocations: 49.62 kB / 0.7741 GB, free: 20.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4338, allocations: 4 kB / 0.7741 GB, free: 20.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4338, allocations: 0 / 0.7741 GB, free: 20.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4338, allocations: 0 / 0.7741 GB, free: 20.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.24e-05/0.4339, allocations: 16.06 kB / 0.7742 GB, free: 20.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4339, allocations: 0 / 0.7742 GB, free: 20.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.434, allocations: 4 kB / 0.7742 GB, free: 20.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.434, allocations: 0 / 0.7742 GB, free: 20.89 MB / 458.7 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 7.213e-05/0.4341, allocations: 117.8 kB / 0.7743 GB, free: 20.76 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.4341, allocations: 3.938 kB / 0.7743 GB, free: 20.76 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.4343, allocations: 117.8 kB / 0.7744 GB, free: 20.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.151e-05/0.4343, allocations: 180.3 kB / 0.7746 GB, free: 20.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.319e-05/0.4344, allocations: 188.2 kB / 0.7747 GB, free: 20.26 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.142e-05/0.4344, allocations: 180.3 kB / 0.7749 GB, free: 20.08 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.4346, allocations: 413.1 kB / 0.7753 GB, free: 19.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/0.4347, allocations: 101 kB / 0.7754 GB, free: 19.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.148e-05/0.4347, allocations: 101 kB / 0.7755 GB, free: 19.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.212e-05/0.4348, allocations: 184.2 kB / 0.7757 GB, free: 19.22 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.4348, allocations: 180.3 kB / 0.7758 GB, free: 19.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.399e-05/0.4349, allocations: 184.2 kB / 0.776 GB, free: 18.85 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.195e-05/0.4349, allocations: 180.3 kB / 0.7762 GB, free: 18.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.4352, allocations: 0.8491 MB / 0.777 GB, free: 17.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.4352, allocations: 182.1 kB / 0.7772 GB, free: 17.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.88e-05/0.4353, allocations: 180.2 kB / 0.7774 GB, free: 17.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.4355, allocations: 112.9 kB / 0.7775 GB, free: 17.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.4356, allocations: 184.5 kB / 0.7777 GB, free: 17.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.4356, allocations: 104.9 kB / 0.7778 GB, free: 16.95 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.803e-05/0.4357, allocations: 87.27 kB / 0.7778 GB, free: 16.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4357, allocations: 0 / 0.7778 GB, free: 16.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006992/0.4364, allocations: 43.88 kB / 0.7779 GB, free: 16.82 MB / 458.7 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.0003605/0.4368, allocations: 248.8 kB / 0.7781 GB, free: 16.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.4369, allocations: 12 kB / 0.7781 GB, free: 16.55 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.437, allocations: 0 / 0.7781 GB, free: 16.55 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.437, allocations: 0 / 0.7781 GB, free: 16.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/0.4376, allocations: 0.5314 MB / 0.7786 GB, free: 16.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.438, allocations: 172 kB / 0.7788 GB, free: 15.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.4381, allocations: 0.6731 MB / 0.7795 GB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.76e-05/0.4382, allocations: 8.703 kB / 0.7795 GB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.4383, allocations: 11.44 kB / 0.7795 GB, free: 15.11 MB / 458.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4383, allocations: 0 / 0.7795 GB, free: 15.11 MB / 458.7 MB Notification: Performance of Templates: time 0.005889/0.4442, allocations: 1.211 MB / 0.7807 GB, free: 13.95 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)