Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008535/0.008535, allocations: 103 kB / 15.88 MB, free: 6.312 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.002017/0.002018, allocations: 196.5 kB / 16.79 MB, free: 6.242 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7434/0.7434, allocations: 122.9 MB / 413.5 MB, free: 84 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 56.12 kB / 0.4904 GB, free: 7.922 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3837, allocations: 77.92 MB / 0.5665 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006041/0.3898, allocations: 4.047 MB / 0.5704 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002124/0.39, allocations: 152.7 kB / 0.5706 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.749e-05/0.3901, allocations: 1.656 kB / 0.5706 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.3902, allocations: 5.812 kB / 0.5706 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.3903, allocations: 9.016 kB / 0.5706 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.3906, allocations: 79.36 kB / 0.5707 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.3907, allocations: 61.31 kB / 0.5707 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.3908, allocations: 4.562 kB / 0.5707 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.145e-05/0.3908, allocations: 13.97 kB / 0.5708 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/0.3909, allocations: 14.33 kB / 0.5708 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.3909, allocations: 2.594 kB / 0.5708 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.3912, allocations: 71.45 kB / 0.5708 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.3912, allocations: 5.141 kB / 0.5708 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.3913, allocations: 19.56 kB / 0.5709 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.3914, allocations: 44.91 kB / 0.5709 GB, free: 29.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3915, allocations: 1.781 kB / 0.5709 GB, free: 29.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3915, allocations: 0 / 0.5709 GB, free: 29.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.3915, allocations: 0.625 kB / 0.5709 GB, free: 29.54 MB / 446.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.0004485/0.3919, allocations: 348.2 kB / 0.5712 GB, free: 29.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.472e-05/0.392, allocations: 9.812 kB / 0.5712 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.3921, allocations: 2.219 kB / 0.5713 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.3922, allocations: 167.4 kB / 0.5714 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.019e-05/0.3923, allocations: 29.42 kB / 0.5714 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.3923, allocations: 1.594 kB / 0.5714 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.3925, allocations: 47.7 kB / 0.5715 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3925, allocations: 1 kB / 0.5715 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3925, allocations: 1.125 kB / 0.5715 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.3926, allocations: 1.438 kB / 0.5715 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.578e-05/0.3926, allocations: 22.27 kB / 0.5715 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.3932, allocations: 333.3 kB / 0.5718 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.741e-05/0.3932, allocations: 17.11 kB / 0.5718 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.058e-05/0.3932, allocations: 7.984 kB / 0.5719 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.453e-05/0.3933, allocations: 89.02 kB / 0.5719 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.3934, allocations: 32.77 kB / 0.572 GB, free: 28.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.3934, allocations: 0.7812 kB / 0.572 GB, free: 28.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001653/0.3936, allocations: 42.03 kB / 0.572 GB, free: 28.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.3936, allocations: 52.53 kB / 0.5721 GB, free: 28.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.3937, allocations: 103.1 kB / 0.5722 GB, free: 28.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3937, allocations: 26.83 kB / 0.5722 GB, free: 28.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.3937, allocations: 83.06 kB / 0.5723 GB, free: 28.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.516e-06/0.3938, allocations: 4.891 kB / 0.5723 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.3938, allocations: 20.8 kB / 0.5723 GB, free: 28.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.3939, allocations: 316.8 kB / 0.5726 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.3939, allocations: 3.281 kB / 0.5726 GB, free: 27.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.427e-05/0.3939, allocations: 20.47 kB / 0.5726 GB, free: 27.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.582e-05/0.394, allocations: 21.88 kB / 0.5726 GB, free: 27.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.394, allocations: 1.062 kB / 0.5726 GB, free: 27.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.724e-05/0.3941, allocations: 50.95 kB / 0.5727 GB, free: 27.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3941, allocations: 4.531 kB / 0.5727 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3941, allocations: 2.453 kB / 0.5727 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3941, allocations: 0.9688 kB / 0.5727 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.992e-05/0.3942, allocations: 6.156 kB / 0.5727 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3942, allocations: 2.344 kB / 0.5727 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.3942, allocations: 9.797 kB / 0.5727 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3942, allocations: 5.062 kB / 0.5727 GB, free: 27.61 MB / 446.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.525e-05/0.3943, allocations: 118.7 kB / 0.5728 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.3943, allocations: 4.844 kB / 0.5728 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.3945, allocations: 124.3 kB / 0.5729 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-05/0.3945, allocations: 182 kB / 0.5731 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.116e-05/0.3946, allocations: 179.9 kB / 0.5733 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.582e-05/0.3946, allocations: 181.8 kB / 0.5735 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.3948, allocations: 414.7 kB / 0.5739 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.753e-05/0.3948, allocations: 105.5 kB / 0.574 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.3949, allocations: 103.3 kB / 0.5741 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.623e-05/0.3949, allocations: 179 kB / 0.5742 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.395, allocations: 183.3 kB / 0.5744 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.15e-05/0.395, allocations: 177.5 kB / 0.5746 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.825e-05/0.3951, allocations: 183.7 kB / 0.5748 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.3952, allocations: 309.5 kB / 0.575 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.3953, allocations: 184.8 kB / 0.5752 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/0.3953, allocations: 179 kB / 0.5754 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.3955, allocations: 112.8 kB / 0.5755 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.3956, allocations: 182.9 kB / 0.5757 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.3956, allocations: 103.2 kB / 0.5758 GB, free: 24.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.304e-05/0.3956, allocations: 86.05 kB / 0.5759 GB, free: 24.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3957, allocations: 3.469 kB / 0.5759 GB, free: 24.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.396, allocations: 19.42 kB / 0.5759 GB, free: 24.23 MB / 446.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.0004178/0.3964, allocations: 195.3 kB / 0.5761 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.3965, allocations: 7.547 kB / 0.5761 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3965, allocations: 1.656 kB / 0.5761 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.845e-06/0.3965, allocations: 1.562 kB / 0.5761 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.397, allocations: 0.5304 MB / 0.5766 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.3973, allocations: 194.6 kB / 0.5768 GB, free: 23.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.3975, allocations: 0.6749 MB / 0.5774 GB, free: 22.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.216e-05/0.3976, allocations: 5.922 kB / 0.5774 GB, free: 22.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.3976, allocations: 11.22 kB / 0.5775 GB, free: 22.64 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3976, allocations: 0 / 0.5775 GB, free: 22.64 MB / 446.1 MB Notification: Performance of Templates: time 0.003137/0.4007, allocations: 0.6181 MB / 0.5781 GB, free: 22.57 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)