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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009633/0.0009632, allocations: 105.1 kB / 16.35 MB, free: 5.824 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.00107/0.00107, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002064, allocations: 278.8 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8999/0.8999, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 98.09 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1465, allocations: 86.98 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004452/0.151, allocations: 3.273 MB / 0.6848 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 9.354e-05/0.1511, allocations: 55.78 kB / 0.6849 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.1511, allocations: 3.938 kB / 0.6849 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.448e-05/0.1512, allocations: 3.938 kB / 0.6849 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.617e-05/0.1513, allocations: 11.92 kB / 0.6849 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.1518, allocations: 191.2 kB / 0.6851 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.571e-05/0.1519, allocations: 27.92 kB / 0.6851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.645e-05/0.1519, allocations: 0 / 0.6851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.758e-05/0.1519, allocations: 23.91 kB / 0.6851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.152, allocations: 15.92 kB / 0.6851 GB, free: 3.828 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.407e-06/0.152, allocations: 0 / 0.6851 GB, free: 3.828 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.1523, allocations: 171.6 kB / 0.6853 GB, free: 3.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/0.1523, allocations: 7.984 kB / 0.6853 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.1524, allocations: 12 kB / 0.6853 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.1526, allocations: 135.7 kB / 0.6854 GB, free: 3.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1526, allocations: 0 / 0.6854 GB, free: 3.508 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1526, allocations: 4 kB / 0.6854 GB, free: 3.504 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1526, allocations: 0 / 0.6854 GB, free: 3.504 MB / 494.1 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.0003378/0.153, allocations: 347.4 kB / 0.6858 GB, free: 3.117 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.153, allocations: 8.031 kB / 0.6858 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.1531, allocations: 0.9375 kB / 0.6858 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.394e-05/0.1531, allocations: 164.4 kB / 0.6859 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5e-05/0.1532, allocations: 30.27 kB / 0.686 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.1532, allocations: 4.375 kB / 0.686 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.1533, allocations: 45.62 kB / 0.686 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.1533, allocations: 0 / 0.686 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1534, allocations: 3.984 kB / 0.686 GB, free: 2.816 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.1534, allocations: 3.938 kB / 0.686 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.208e-05/0.1534, allocations: 12 kB / 0.686 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.154, allocations: 0.591 MB / 0.6866 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.939e-05/0.154, allocations: 18.56 kB / 0.6866 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.154, allocations: 12.92 kB / 0.6866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/0.1542, allocations: 340.4 kB / 0.687 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1543, allocations: 30.56 kB / 0.687 GB, free: 1.598 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1543, allocations: 0 / 0.687 GB, free: 1.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000122/0.1544, allocations: 41.73 kB / 0.687 GB, free: 1.551 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.1544, allocations: 59.42 kB / 0.6871 GB, free: 1.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.636e-05/0.1545, allocations: 93.86 kB / 0.6872 GB, free: 1.379 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1545, allocations: 33.7 kB / 0.6872 GB, free: 1.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.1546, allocations: 84.05 kB / 0.6873 GB, free: 1.254 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.533e-06/0.1546, allocations: 7.922 kB / 0.6873 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.1546, allocations: 13.72 kB / 0.6873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1547, allocations: 318.8 kB / 0.6876 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.1548, allocations: 8 kB / 0.6876 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.231e-05/0.1548, allocations: 21.64 kB / 0.6876 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.494e-05/0.1548, allocations: 29.66 kB / 0.6877 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1548, allocations: 0 / 0.6877 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.24e-05/0.1549, allocations: 49.59 kB / 0.6877 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.1549, allocations: 4 kB / 0.6877 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1549, allocations: 4.062 kB / 0.6877 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.155, allocations: 4 kB / 0.6877 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.873e-05/0.155, allocations: 7.938 kB / 0.6877 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.155, allocations: 0 / 0.6877 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.155, allocations: 288 / 0.6877 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.155, allocations: 4 kB / 0.6877 GB, free: 0.7578 MB / 494.1 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.252e-05/0.1551, allocations: 113.8 kB / 0.6878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.1552, allocations: 4 kB / 0.6878 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.1553, allocations: 124.9 kB / 0.688 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.484e-05/0.1553, allocations: 188.2 kB / 0.6881 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.244e-05/0.1554, allocations: 176.3 kB / 0.6883 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2399/0.3953, allocations: 178.5 kB / 0.6885 GB, free: 18.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.3955, allocations: 412 kB / 0.6889 GB, free: 17.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.3955, allocations: 106.4 kB / 0.689 GB, free: 17.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-05/0.3956, allocations: 106 kB / 0.6891 GB, free: 17.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.213e-05/0.3956, allocations: 178.2 kB / 0.6893 GB, free: 17.53 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.3956, allocations: 179 kB / 0.6894 GB, free: 17.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.198e-05/0.3957, allocations: 187.5 kB / 0.6896 GB, free: 17.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.891e-05/0.3957, allocations: 177.6 kB / 0.6898 GB, free: 16.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.367e-05/0.3958, allocations: 314.2 kB / 0.6901 GB, free: 16.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.3958, allocations: 185.5 kB / 0.6902 GB, free: 16.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.3959, allocations: 180.3 kB / 0.6904 GB, free: 16.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.396, allocations: 107.6 kB / 0.6905 GB, free: 16.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.396, allocations: 182.8 kB / 0.6907 GB, free: 16.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.3961, allocations: 105.6 kB / 0.6908 GB, free: 15.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.827e-05/0.3961, allocations: 86.77 kB / 0.6909 GB, free: 15.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3961, allocations: 0.5 kB / 0.6909 GB, free: 15.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000332/0.3965, allocations: 37.31 kB / 0.6909 GB, free: 15.84 MB / 494.1 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.0002535/0.3967, allocations: 229.3 kB / 0.6911 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.929e-05/0.3968, allocations: 11.17 kB / 0.6911 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3968, allocations: 0 / 0.6911 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.3968, allocations: 6.125 kB / 0.6911 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.3972, allocations: 461.5 kB / 0.6916 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.3974, allocations: 186.9 kB / 0.6918 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.386e-05/0.3975, allocations: 0.6755 MB / 0.6924 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.973e-05/0.3976, allocations: 10.81 kB / 0.6924 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.3976, allocations: 9.375 kB / 0.6924 GB, free: 14.35 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3976, allocations: 3.719 kB / 0.6924 GB, free: 14.35 MB / 494.1 MB Notification: Performance of Templates: time 0.003702/0.4013, allocations: 1.218 MB / 0.6936 GB, free: 14.25 MB / 494.1 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)