Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009017/0.0009019, allocations: 96.28 kB / 16.26 MB, free: 5.934 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.001023/0.001023, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.499/1.499, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7565/0.7565, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 0.4911 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3858, allocations: 77.93 MB / 0.5672 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005171/0.391, allocations: 3.265 MB / 0.5704 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001139/0.3912, allocations: 57.92 kB / 0.5705 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.27e-05/0.3912, allocations: 6.688 kB / 0.5705 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.3913, allocations: 5.297 kB / 0.5705 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.774e-05/0.3915, allocations: 13.5 kB / 0.5705 GB, free: 30.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005947/0.3921, allocations: 177.9 kB / 0.5707 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.3922, allocations: 38.31 kB / 0.5707 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.3922, allocations: 2.391 kB / 0.5707 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.881e-05/0.3923, allocations: 16.69 kB / 0.5707 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.541e-05/0.3924, allocations: 11.91 kB / 0.5707 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3924, allocations: 5.062 kB / 0.5707 GB, free: 30.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.3928, allocations: 175.6 kB / 0.5709 GB, free: 30.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.232e-05/0.3929, allocations: 5.594 kB / 0.5709 GB, free: 30.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.3929, allocations: 11.17 kB / 0.5709 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.3932, allocations: 134.8 kB / 0.571 GB, free: 30.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3932, allocations: 5.531 kB / 0.571 GB, free: 30.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3932, allocations: 0 / 0.571 GB, free: 30.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.3932, allocations: 0 / 0.571 GB, free: 30.12 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.0004133/0.3937, allocations: 349.6 kB / 0.5714 GB, free: 29.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3937, allocations: 13.05 kB / 0.5714 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.3938, allocations: 6.391 kB / 0.5714 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.536e-05/0.3939, allocations: 167.2 kB / 0.5716 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.704e-05/0.3939, allocations: 26.27 kB / 0.5716 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.3939, allocations: 3.844 kB / 0.5716 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.3941, allocations: 50.81 kB / 0.5716 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3941, allocations: 0 / 0.5716 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3941, allocations: 1.312 kB / 0.5716 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.3941, allocations: 0.7031 kB / 0.5716 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.828e-05/0.3942, allocations: 18.52 kB / 0.5717 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.3948, allocations: 0.5797 MB / 0.5722 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.765e-05/0.3948, allocations: 21.33 kB / 0.5722 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.3948, allocations: 7.328 kB / 0.5723 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.395, allocations: 344.5 kB / 0.5726 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.3951, allocations: 31.62 kB / 0.5726 GB, free: 28.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3951, allocations: 0 / 0.5726 GB, free: 28.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.3952, allocations: 39.77 kB / 0.5726 GB, free: 28.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.3953, allocations: 52.03 kB / 0.5727 GB, free: 28.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.055e-05/0.3953, allocations: 108 kB / 0.5728 GB, free: 28.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.3954, allocations: 25.7 kB / 0.5728 GB, free: 28.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.3954, allocations: 93.84 kB / 0.5729 GB, free: 28.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.771e-06/0.3954, allocations: 7.047 kB / 0.5729 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.3955, allocations: 17.86 kB / 0.5729 GB, free: 28.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.3955, allocations: 318 kB / 0.5732 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.3955, allocations: 3.828 kB / 0.5732 GB, free: 27.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.3956, allocations: 24.91 kB / 0.5733 GB, free: 27.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/0.3956, allocations: 17.72 kB / 0.5733 GB, free: 27.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3956, allocations: 1.219 kB / 0.5733 GB, free: 27.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.018e-05/0.3957, allocations: 50.17 kB / 0.5733 GB, free: 27.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3957, allocations: 7.109 kB / 0.5733 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.3957, allocations: 0 / 0.5733 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3958, allocations: 1.25 kB / 0.5733 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.978e-05/0.3958, allocations: 6.516 kB / 0.5733 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3958, allocations: 1.031 kB / 0.5733 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.019e-05/0.3958, allocations: 2.609 kB / 0.5734 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3959, allocations: 9.156 kB / 0.5734 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 5.47e-05/0.3959, allocations: 114.1 kB / 0.5735 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.396, allocations: 2.219 kB / 0.5735 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.659e-05/0.3961, allocations: 121.5 kB / 0.5736 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.179e-05/0.3961, allocations: 187.4 kB / 0.5738 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.365e-05/0.3961, allocations: 180.8 kB / 0.5739 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.907e-05/0.3962, allocations: 178.3 kB / 0.5741 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.3963, allocations: 416.2 kB / 0.5745 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.3964, allocations: 102.7 kB / 0.5746 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.3964, allocations: 108.5 kB / 0.5747 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-05/0.3964, allocations: 178.2 kB / 0.5749 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.3964, allocations: 177.5 kB / 0.575 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.569e-05/0.3965, allocations: 184 kB / 0.5752 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.49e-05/0.3965, allocations: 182 kB / 0.5754 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.679e-05/0.3966, allocations: 315.7 kB / 0.5757 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.3966, allocations: 180.6 kB / 0.5759 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.3967, allocations: 188.8 kB / 0.576 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.3968, allocations: 105.3 kB / 0.5761 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.3969, allocations: 188 kB / 0.5763 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.3969, allocations: 103 kB / 0.5764 GB, free: 24.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.598e-05/0.3969, allocations: 86.12 kB / 0.5765 GB, free: 24.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.397, allocations: 4.938 kB / 0.5765 GB, free: 24.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.3973, allocations: 33.41 kB / 0.5765 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.0002858/0.3976, allocations: 236.7 kB / 0.5768 GB, free: 24.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.934e-05/0.3977, allocations: 13.28 kB / 0.5768 GB, free: 24.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3977, allocations: 0 / 0.5768 GB, free: 24.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.3977, allocations: 0 / 0.5768 GB, free: 24.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.398, allocations: 463.8 kB / 0.5772 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/0.3983, allocations: 180.7 kB / 0.5774 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.3984, allocations: 0.6745 MB / 0.5781 GB, free: 22.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.767e-05/0.3985, allocations: 12.95 kB / 0.5781 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.3985, allocations: 12.66 kB / 0.5781 GB, free: 22.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3985, allocations: 0 / 0.5781 GB, free: 22.7 MB / 446.1 MB Notification: Performance of Templates: time 0.004215/0.4027, allocations: 1.211 MB / 0.5793 GB, free: 22.55 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)