Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.787/2.787, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001562/0.001562, allocations: 183.1 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.178/2.178, allocations: 205.4 MB / 0.6297 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009606/0.0009602, allocations: 98.77 kB / 0.743 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007541/0.0007543, allocations: 15.11 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2663, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004149/0.2705, allocations: 2.885 MB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001155/0.2707, allocations: 55.83 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.2707, allocations: 0 / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.2708, allocations: 3.984 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.014e-05/0.2709, allocations: 7.938 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.2715, allocations: 131.4 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.2716, allocations: 43.89 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.2716, allocations: 3.984 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.779e-05/0.2717, allocations: 11.94 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.2717, allocations: 11.98 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.2718, allocations: 0 / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000334/0.2721, allocations: 95.67 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.2722, allocations: 11.98 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.2722, allocations: 29.7 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.2724, allocations: 56.17 kB / 0.9817 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2724, allocations: 7.922 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2724, allocations: 0 / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.2724, allocations: 0 / 0.9817 GB, free: 24.89 MB / 0.6198 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.0003683/0.2728, allocations: 335.4 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.2729, allocations: 16.02 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.2729, allocations: 30.56 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.273, allocations: 7.859 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.472e-05/0.2731, allocations: 167.1 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-05/0.2732, allocations: 29.69 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.2732, allocations: 0 / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.2734, allocations: 53.61 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2734, allocations: 0 / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2734, allocations: 0 / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.2734, allocations: 3.953 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.207e-05/0.2735, allocations: 19.98 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006827/0.2742, allocations: 0.5756 MB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.557e-05/0.2743, allocations: 22.5 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.2743, allocations: 12.92 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002177/0.2745, allocations: 340.4 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.2746, allocations: 34.52 kB / 0.9833 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.783e-06/0.2746, allocations: 4 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001626/0.2748, allocations: 41.69 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.2748, allocations: 51.41 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.478e-05/0.2749, allocations: 97.86 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.2749, allocations: 33.58 kB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.2749, allocations: 92.03 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-06/0.275, allocations: 7.844 kB / 0.9836 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.275, allocations: 3.938 kB / 0.9836 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.866e-05/0.275, allocations: 315 kB / 0.9839 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.2751, allocations: 4 kB / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/0.2751, allocations: 21.7 kB / 0.9839 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.669e-05/0.2751, allocations: 4 kB / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2752, allocations: 0 / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.278e-05/0.2753, allocations: 49.62 kB / 0.984 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2753, allocations: 11.95 kB / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2753, allocations: 4.062 kB / 0.984 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2753, allocations: 0 / 0.984 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.019e-05/0.2754, allocations: 4 kB / 0.984 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2754, allocations: 0 / 0.984 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.2755, allocations: 4 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.2755, allocations: 0 / 0.984 GB, free: 22.14 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.429e-05/0.2755, allocations: 117.8 kB / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.2756, allocations: 0 / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.2757, allocations: 126.5 kB / 0.9842 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.354e-05/0.2757, allocations: 180.3 kB / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.604e-05/0.2758, allocations: 180.2 kB / 0.9846 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.816e-05/0.2758, allocations: 188.2 kB / 0.9848 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.276, allocations: 397.2 kB / 0.9852 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/0.2761, allocations: 112.9 kB / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.2761, allocations: 105 kB / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-05/0.2761, allocations: 176.3 kB / 0.9855 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.2762, allocations: 180.2 kB / 0.9857 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.654e-05/0.2762, allocations: 188.2 kB / 0.9859 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.548e-05/0.2763, allocations: 180.2 kB / 0.9861 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.679e-05/0.2764, allocations: 311.7 kB / 0.9863 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.2764, allocations: 182.1 kB / 0.9865 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.2765, allocations: 184.3 kB / 0.9867 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.2767, allocations: 116.9 kB / 0.9868 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.2768, allocations: 184.2 kB / 0.987 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.2768, allocations: 108.9 kB / 0.9871 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.077e-05/0.2768, allocations: 83.22 kB / 0.9872 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2769, allocations: 0 / 0.9872 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003463/0.2772, allocations: 35.98 kB / 0.9872 GB, free: 18.66 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004405/0.2777, allocations: 0.853 MB / 0.988 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.048e-05/0.2778, allocations: 11.94 kB / 0.988 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2778, allocations: 0 / 0.988 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.434e-06/0.2778, allocations: 0 / 0.988 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.2782, allocations: 0.5417 MB / 0.9886 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.2787, allocations: 241.9 kB / 0.9888 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.2788, allocations: 0.6731 MB / 0.9895 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.654e-05/0.2789, allocations: 4.562 kB / 0.9895 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.2789, allocations: 11.44 kB / 0.9895 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of SimCode: time 1.813e-06/0.2789, allocations: 3.938 kB / 0.9895 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.3002, allocations: 1.868 MB / 0.9913 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/0.3005, allocations: 241.2 kB / 0.9915 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/2.815, allocations: 0 / 0.9915 GB, free: 14.32 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)