Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 103.4 kB / 16.36 MB, free: 5.961 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.001557/0.001557, allocations: 195.5 kB / 17.3 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.81/1.81, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 67.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2246, allocations: 114.5 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.3741/0.5987, allocations: 4.008 MB / 0.7887 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001894/0.5989, allocations: 151.6 kB / 0.7888 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.599, allocations: 0.9375 kB / 0.7888 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.5991, allocations: 5.5 kB / 0.7888 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.977e-05/0.5992, allocations: 10.61 kB / 0.7888 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.5996, allocations: 72.89 kB / 0.7889 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.694e-05/0.5996, allocations: 29.45 kB / 0.7889 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.5997, allocations: 5.219 kB / 0.7889 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.5997, allocations: 19.67 kB / 0.789 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.5998, allocations: 10.61 kB / 0.789 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.5998, allocations: 0 / 0.789 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.6001, allocations: 60.67 kB / 0.789 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.6001, allocations: 7.016 kB / 0.789 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.6001, allocations: 11.16 kB / 0.789 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.6003, allocations: 41.73 kB / 0.7891 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6003, allocations: 0.8438 kB / 0.7891 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6003, allocations: 0 / 0.7891 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.6003, allocations: 2.969 kB / 0.7891 GB, free: 46.48 MB / 0.6544 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.0003686/0.6007, allocations: 337 kB / 0.7894 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.6007, allocations: 8.844 kB / 0.7894 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.6008, allocations: 8.938 kB / 0.7894 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.261e-05/0.6009, allocations: 163.7 kB / 0.7896 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.601, allocations: 29.45 kB / 0.7896 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.601, allocations: 5 kB / 0.7896 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.6011, allocations: 50.64 kB / 0.7897 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.6011, allocations: 0 / 0.7897 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.6012, allocations: 0 / 0.7897 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.6012, allocations: 5.594 kB / 0.7897 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.286e-05/0.6012, allocations: 15.62 kB / 0.7897 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.6016, allocations: 330.9 kB / 0.79 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.671e-05/0.6017, allocations: 23.42 kB / 0.79 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.382e-05/0.6017, allocations: 7.547 kB / 0.79 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.937e-05/0.6017, allocations: 86.86 kB / 0.7901 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.6018, allocations: 33.19 kB / 0.7901 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.6018, allocations: 0 / 0.7901 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001434/0.6019, allocations: 43.02 kB / 0.7902 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.602, allocations: 58.41 kB / 0.7902 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.142e-05/0.602, allocations: 103.5 kB / 0.7903 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.602, allocations: 25.7 kB / 0.7904 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.6021, allocations: 80.14 kB / 0.7904 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.426e-06/0.6021, allocations: 9.656 kB / 0.7904 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.6021, allocations: 16.28 kB / 0.7905 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.342e-05/0.6022, allocations: 322.3 kB / 0.7908 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.6022, allocations: 2.625 kB / 0.7908 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/0.6022, allocations: 17.53 kB / 0.7908 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.011e-05/0.6023, allocations: 22.72 kB / 0.7908 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6023, allocations: 0 / 0.7908 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.388e-05/0.6023, allocations: 51.8 kB / 0.7909 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.6024, allocations: 6.031 kB / 0.7909 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.6024, allocations: 2.625 kB / 0.7909 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.6024, allocations: 4 kB / 0.7909 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.26e-05/0.6024, allocations: 6.562 kB / 0.7909 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.6024, allocations: 0 / 0.7909 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.6025, allocations: 7.281 kB / 0.7909 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.6025, allocations: 0 / 0.7909 GB, free: 44.63 MB / 0.6544 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 4.919e-05/0.6025, allocations: 122.1 kB / 0.791 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.6026, allocations: 4.531 kB / 0.791 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.401e-05/0.6027, allocations: 117.1 kB / 0.7911 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/0.6027, allocations: 185.7 kB / 0.7913 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/0.6027, allocations: 178 kB / 0.7915 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/0.6028, allocations: 181.4 kB / 0.7916 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.6029, allocations: 407.4 kB / 0.792 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.6029, allocations: 103.8 kB / 0.7921 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.651e-05/0.6029, allocations: 111.1 kB / 0.7922 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.519e-05/0.603, allocations: 180.9 kB / 0.7924 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.603, allocations: 185.1 kB / 0.7926 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.402e-05/0.603, allocations: 178.9 kB / 0.7928 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.402e-05/0.6031, allocations: 188.7 kB / 0.7929 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.679e-05/0.6031, allocations: 307.4 kB / 0.7932 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.6032, allocations: 181.8 kB / 0.7934 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.6032, allocations: 178.8 kB / 0.7936 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.6033, allocations: 111.7 kB / 0.7937 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.6034, allocations: 181.4 kB / 0.7938 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.6034, allocations: 102.6 kB / 0.7939 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.08e-05/0.6034, allocations: 88.28 kB / 0.794 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6034, allocations: 1.594 kB / 0.794 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002373/0.6037, allocations: 15.47 kB / 0.794 GB, free: 41.32 MB / 0.6544 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.0002191/0.6039, allocations: 210.7 kB / 0.7942 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.962e-05/0.604, allocations: 12.31 kB / 0.7943 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.604, allocations: 0 / 0.7943 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.604, allocations: 0 / 0.7943 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.6043, allocations: 465 kB / 0.7947 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.6045, allocations: 185.4 kB / 0.7949 GB, free: 40.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.6046, allocations: 0.6747 MB / 0.7955 GB, free: 39.83 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.448e-05/0.6047, allocations: 5.188 kB / 0.7955 GB, free: 39.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.6047, allocations: 12.91 kB / 0.7956 GB, free: 39.83 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.6047, allocations: 0.5 kB / 0.7956 GB, free: 39.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.002814/0.6075, allocations: 0.587 MB / 0.7961 GB, free: 39.8 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)