Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 292.3 MB / 308.1 MB, free: 4.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 188.4 kB / 376.9 MB, free: 1.605 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205 MB / 0.6353 GB, free: 9.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009373/0.0009371, allocations: 96.36 kB / 0.7479 GB, free: 61.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.001121, allocations: 51.92 kB / 0.8704 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2578, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005711/0.2636, allocations: 3.342 MB / 0.9855 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001053/0.2637, allocations: 47.88 kB / 0.9855 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.2638, allocations: 0 / 0.9855 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.2639, allocations: 7.922 kB / 0.9855 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.983e-05/0.264, allocations: 15.86 kB / 0.9855 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/0.2646, allocations: 167.4 kB / 0.9857 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.173e-05/0.2647, allocations: 55.83 kB / 0.9858 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.2647, allocations: 0 / 0.9858 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.2648, allocations: 11.98 kB / 0.9858 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.127e-05/0.2649, allocations: 19.92 kB / 0.9858 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.2649, allocations: 3.938 kB / 0.9858 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.2652, allocations: 167.5 kB / 0.9859 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.2653, allocations: 8 kB / 0.986 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.2653, allocations: 11.98 kB / 0.986 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.2656, allocations: 135.9 kB / 0.9861 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2656, allocations: 4 kB / 0.9861 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.61e-07/0.2656, allocations: 0 / 0.9861 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.2657, allocations: 0 / 0.9861 GB, free: 6.336 MB / 0.7136 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.0004209/0.2661, allocations: 347.5 kB / 0.9864 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.717e-05/0.2662, allocations: 11.97 kB / 0.9864 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.2662, allocations: 0.9375 kB / 0.9864 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.2663, allocations: 168.4 kB / 0.9866 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.307e-05/0.2664, allocations: 30.27 kB / 0.9866 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.2664, allocations: 384 / 0.9866 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.2666, allocations: 53.55 kB / 0.9867 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2666, allocations: 0 / 0.9867 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.2666, allocations: 0 / 0.9867 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.2666, allocations: 4 kB / 0.9867 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.424e-05/0.2667, allocations: 15.98 kB / 0.9867 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.2673, allocations: 0.591 MB / 0.9873 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.862e-05/0.2674, allocations: 18.52 kB / 0.9873 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.2674, allocations: 8.922 kB / 0.9873 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.2677, allocations: 340.4 kB / 0.9876 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.2677, allocations: 38.55 kB / 0.9877 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2677, allocations: 4 kB / 0.9877 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001444/0.2679, allocations: 33.7 kB / 0.9877 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.2679, allocations: 51.41 kB / 0.9878 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/0.268, allocations: 109.8 kB / 0.9879 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.268, allocations: 25.7 kB / 0.9879 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.2681, allocations: 84.08 kB / 0.988 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-06/0.2681, allocations: 3.906 kB / 0.988 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.2681, allocations: 17.72 kB / 0.988 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.386e-05/0.2682, allocations: 322.8 kB / 0.9883 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.2682, allocations: 4.125 kB / 0.9883 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.726e-05/0.2683, allocations: 17.72 kB / 0.9883 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.2683, allocations: 29.7 kB / 0.9883 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2683, allocations: 0 / 0.9883 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.435e-05/0.2684, allocations: 45.64 kB / 0.9884 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2684, allocations: 6.812 kB / 0.9884 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2684, allocations: 8.062 kB / 0.9884 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2684, allocations: 3.984 kB / 0.9884 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.521e-05/0.2685, allocations: 4 kB / 0.9884 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2685, allocations: 0 / 0.9884 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/0.2685, allocations: 3.938 kB / 0.9884 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.2685, allocations: 7.984 kB / 0.9884 GB, free: 3.578 MB / 0.7136 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.066e-05/0.2686, allocations: 117.8 kB / 0.9885 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.2687, allocations: 7.906 kB / 0.9885 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.2688, allocations: 127.1 kB / 0.9887 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.717e-05/0.2688, allocations: 176.3 kB / 0.9888 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.033e-05/0.2689, allocations: 184.2 kB / 0.989 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-05/0.269, allocations: 180.2 kB / 0.9892 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.2692, allocations: 413 kB / 0.9896 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.087e-05/0.2692, allocations: 105 kB / 0.9897 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.2693, allocations: 113 kB / 0.9898 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.715e-05/0.2693, allocations: 180.2 kB / 0.9899 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.253e-05/0.2694, allocations: 176.3 kB / 0.9901 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.182e-05/0.2694, allocations: 180.2 kB / 0.9903 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.194e-05/0.2695, allocations: 180.5 kB / 0.9905 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.2698, allocations: 0.8532 MB / 0.9913 GB, free: 440 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.2699, allocations: 182 kB / 0.9915 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.253e-05/0.27, allocations: 180.3 kB / 0.9916 GB, free: 44 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.2701, allocations: 120.8 kB / 0.9918 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.2702, allocations: 176.3 kB / 0.9919 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.2703, allocations: 105 kB / 0.992 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.2703, allocations: 87.22 kB / 0.9921 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2703, allocations: 0 / 0.9921 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003698/0.2707, allocations: 35.98 kB / 0.9921 GB, free: 15.51 MB / 0.7292 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.0002623/0.271, allocations: 234.6 kB / 0.9924 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.021e-05/0.271, allocations: 8 kB / 0.9924 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.271, allocations: 0 / 0.9924 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.2711, allocations: 4.125 kB / 0.9924 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.2716, allocations: 0.5252 MB / 0.9929 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.2719, allocations: 187.5 kB / 0.9931 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.2722, allocations: 0.6812 MB / 0.9937 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.179e-05/0.2722, allocations: 5.688 kB / 0.9937 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.2723, allocations: 7.438 kB / 0.9937 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/0.2723, allocations: 0 / 0.9937 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of Templates: time 0.003619/0.2759, allocations: 1.153 MB / 0.9949 GB, free: 12.66 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)