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.001093/0.001093, allocations: 105.1 kB / 16.29 MB, free: 6.031 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.001138/0.001138, allocations: 179.3 kB / 17.22 MB, free: 5.641 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.444/1.444, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.855/1.855, allocations: 292.3 MB / 0.5495 GB, free: 17.71 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.001466/0.001466, allocations: 67.91 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2496, allocations: 114.6 MB / 0.7841 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.4463/0.6959, allocations: 4.002 MB / 0.788 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002931/0.6962, allocations: 153.1 kB / 0.7881 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.6963, allocations: 1.188 kB / 0.7881 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.6964, allocations: 5.156 kB / 0.7881 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.648e-05/0.6966, allocations: 14.45 kB / 0.7881 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.697, allocations: 68.36 kB / 0.7882 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.222e-05/0.6971, allocations: 37.89 kB / 0.7882 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.6971, allocations: 3.969 kB / 0.7882 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.6972, allocations: 13.5 kB / 0.7882 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.437e-05/0.6972, allocations: 11.3 kB / 0.7883 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.6973, allocations: 2.875 kB / 0.7883 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.6975, allocations: 55.3 kB / 0.7883 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.6976, allocations: 16.47 kB / 0.7883 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.6976, allocations: 9.266 kB / 0.7883 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.6978, allocations: 40.62 kB / 0.7884 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6978, allocations: 2.594 kB / 0.7884 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6978, allocations: 0 / 0.7884 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.6978, allocations: 0 / 0.7884 GB, free: 46.05 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.0003694/0.6982, allocations: 334.8 kB / 0.7887 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.6982, allocations: 12.22 kB / 0.7887 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.6983, allocations: 3.75 kB / 0.7887 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.325e-05/0.6984, allocations: 166 kB / 0.7889 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-05/0.6985, allocations: 28.53 kB / 0.7889 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.6985, allocations: 7.5 kB / 0.7889 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.6986, allocations: 52.44 kB / 0.789 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.6987, allocations: 0 / 0.789 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.6987, allocations: 2.625 kB / 0.789 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.6987, allocations: 0 / 0.789 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.012e-05/0.6988, allocations: 13.88 kB / 0.789 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.6992, allocations: 332.4 kB / 0.7893 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.007e-05/0.6992, allocations: 26.3 kB / 0.7893 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.6993, allocations: 7.484 kB / 0.7893 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.563e-05/0.6994, allocations: 85.55 kB / 0.7894 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.6994, allocations: 37.22 kB / 0.7894 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.6994, allocations: 0 / 0.7894 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001633/0.6996, allocations: 39.97 kB / 0.7895 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.6996, allocations: 54.03 kB / 0.7895 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/0.6997, allocations: 99.7 kB / 0.7896 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.6997, allocations: 26.23 kB / 0.7896 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.6998, allocations: 88.28 kB / 0.7897 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.6998, allocations: 9.125 kB / 0.7897 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.6998, allocations: 16.34 kB / 0.7898 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.246e-05/0.6999, allocations: 320.8 kB / 0.7901 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.6999, allocations: 2.625 kB / 0.7901 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.373e-05/0.6999, allocations: 12.34 kB / 0.7901 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.004e-05/0.7, allocations: 30.66 kB / 0.7901 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7, allocations: 1.938 kB / 0.7901 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.428e-05/0.7001, allocations: 47.36 kB / 0.7902 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.7001, allocations: 5.25 kB / 0.7902 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.7001, allocations: 2.969 kB / 0.7902 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.7002, allocations: 0.5 kB / 0.7902 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.7002, allocations: 11.83 kB / 0.7902 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.7002, allocations: 0 / 0.7902 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.7003, allocations: 7.156 kB / 0.7902 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.7003, allocations: 0.5312 kB / 0.7902 GB, free: 44.2 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 6.867e-05/0.7004, allocations: 121.2 kB / 0.7903 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.7004, allocations: 5.281 kB / 0.7903 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.7005, allocations: 112.7 kB / 0.7904 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.43e-05/0.7006, allocations: 188.9 kB / 0.7906 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.262e-05/0.7006, allocations: 180.4 kB / 0.7908 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.35e-05/0.7007, allocations: 182.4 kB / 0.7909 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.7009, allocations: 408 kB / 0.7913 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/0.7009, allocations: 106.9 kB / 0.7914 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.701, allocations: 105.9 kB / 0.7915 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.065e-05/0.701, allocations: 180.5 kB / 0.7917 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.7011, allocations: 183.7 kB / 0.7919 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.985e-05/0.7011, allocations: 181.1 kB / 0.792 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.06e-05/0.7012, allocations: 184.8 kB / 0.7922 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.7013, allocations: 304.9 kB / 0.7925 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.7013, allocations: 186.2 kB / 0.7927 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.7014, allocations: 183.3 kB / 0.7929 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.7016, allocations: 106.8 kB / 0.793 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.7016, allocations: 185.7 kB / 0.7931 GB, free: 41.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.7016, allocations: 104.8 kB / 0.7932 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.7017, allocations: 82.88 kB / 0.7933 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7017, allocations: 0 / 0.7933 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004389/0.7021, allocations: 17.3 kB / 0.7933 GB, free: 40.89 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.0003053/0.7024, allocations: 197.8 kB / 0.7935 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.697e-05/0.7025, allocations: 15.66 kB / 0.7935 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7025, allocations: 0.5625 kB / 0.7935 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/0.7025, allocations: 2.719 kB / 0.7935 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.703, allocations: 462.2 kB / 0.794 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.7033, allocations: 181.2 kB / 0.7942 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.7034, allocations: 0.6786 MB / 0.7948 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.074e-05/0.7035, allocations: 3.891 kB / 0.7948 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.7035, allocations: 10.16 kB / 0.7948 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.7035, allocations: 2.531 kB / 0.7948 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.003435/0.707, allocations: 0.5889 MB / 0.7954 GB, free: 39.38 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)