Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.718/1.718, allocations: 306.1 MB / 321.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 179.5 kB / 393.1 MB, free: 4.047 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008654/0.0008653, allocations: 92.78 kB / 0.7935 GB, free: 40.01 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003676, allocations: 8 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7174/0.7177, allocations: 121.3 MB / 1.041 GB, free: 58.45 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003429/0.7212, allocations: 3.449 MB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 7.846e-05/0.7213, allocations: 51.89 kB / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.7e-05/0.7214, allocations: 2.312 kB / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.842e-05/0.7215, allocations: 5 kB / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.16e-05/0.7215, allocations: 13.84 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.722, allocations: 164.7 kB / 1.044 GB, free: 55.65 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.129e-05/0.7221, allocations: 64 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.7222, allocations: 1.469 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.854e-05/0.7222, allocations: 15.38 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.7223, allocations: 18.75 kB / 1.045 GB, free: 55.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.7223, allocations: 0.75 kB / 1.045 GB, free: 55.62 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.7226, allocations: 163.8 kB / 1.045 GB, free: 55.56 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.271e-05/0.7227, allocations: 6.703 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.7227, allocations: 42.81 kB / 1.045 GB, free: 55.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.723, allocations: 135.1 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.723, allocations: 2.938 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.733e-06/0.723, allocations: 0 / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.723, allocations: 3.938 kB / 1.045 GB, free: 55.48 MB / 0.698 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.0003186/0.7233, allocations: 339.9 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.7234, allocations: 10.86 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.7234, allocations: 3.094 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.283e-05/0.7235, allocations: 164.8 kB / 1.045 GB, free: 54.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/0.7235, allocations: 29.41 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.7236, allocations: 384 / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.7237, allocations: 47.19 kB / 1.045 GB, free: 54.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.7237, allocations: 7.781 kB / 1.045 GB, free: 54.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.7237, allocations: 1.25 kB / 1.045 GB, free: 54.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.7238, allocations: 4 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.168e-05/0.7238, allocations: 11.83 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.7243, allocations: 0.5901 MB / 1.046 GB, free: 54.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.848e-05/0.7243, allocations: 18.11 kB / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.229e-05/0.7243, allocations: 13 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.7245, allocations: 340.7 kB / 1.046 GB, free: 53.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.7245, allocations: 39.31 kB / 1.046 GB, free: 53.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.7245, allocations: 0 / 1.046 GB, free: 53.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001303/0.7247, allocations: 40.12 kB / 1.046 GB, free: 53.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.7247, allocations: 52.44 kB / 1.047 GB, free: 53.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.753e-05/0.7247, allocations: 104.2 kB / 1.047 GB, free: 53.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.7248, allocations: 34.97 kB / 1.047 GB, free: 53.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.7248, allocations: 82.23 kB / 1.047 GB, free: 53.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-06/0.7248, allocations: 3.906 kB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.7248, allocations: 0 / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.7249, allocations: 322.3 kB / 1.047 GB, free: 53.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.7249, allocations: 3.594 kB / 1.047 GB, free: 53.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.257e-05/0.7249, allocations: 18.69 kB / 1.047 GB, free: 53.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.215e-05/0.7249, allocations: 24.73 kB / 1.047 GB, free: 53.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.7249, allocations: 4 kB / 1.047 GB, free: 53.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.447e-05/0.725, allocations: 47 kB / 1.047 GB, free: 52.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.725, allocations: 11.53 kB / 1.047 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.725, allocations: 0 / 1.047 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.7251, allocations: 4.5 kB / 1.047 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.073e-05/0.7251, allocations: 3.594 kB / 1.047 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.7251, allocations: 1.875 kB / 1.047 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.7251, allocations: 3.531 kB / 1.047 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.7252, allocations: 0 / 1.047 GB, free: 52.99 MB / 0.698 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.758e-05/0.7252, allocations: 119.1 kB / 1.047 GB, free: 52.87 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.7252, allocations: 3.906 kB / 1.047 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.074e-05/0.7253, allocations: 122.7 kB / 1.047 GB, free: 52.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/0.7254, allocations: 177.7 kB / 1.048 GB, free: 52.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.672e-05/0.7254, allocations: 184.1 kB / 1.048 GB, free: 52.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.417e-05/0.7254, allocations: 182.7 kB / 1.048 GB, free: 52.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.7255, allocations: 412.8 kB / 1.048 GB, free: 51.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.7256, allocations: 105.7 kB / 1.048 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.625e-05/0.7256, allocations: 107.7 kB / 1.049 GB, free: 51.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.181e-05/0.7256, allocations: 180.2 kB / 1.049 GB, free: 51.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.7256, allocations: 180.3 kB / 1.049 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.028e-05/0.7257, allocations: 180.3 kB / 1.049 GB, free: 50.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.481e-05/0.7257, allocations: 183.6 kB / 1.049 GB, free: 50.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.845e-05/0.7258, allocations: 312.1 kB / 1.05 GB, free: 50.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.7258, allocations: 179.1 kB / 1.05 GB, free: 50.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.7259, allocations: 181.9 kB / 1.05 GB, free: 50.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.726, allocations: 112.6 kB / 1.05 GB, free: 49.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.726, allocations: 177.4 kB / 1.05 GB, free: 49.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.7261, allocations: 111 kB / 1.05 GB, free: 49.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.946e-05/0.7261, allocations: 87.83 kB / 1.05 GB, free: 49.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7261, allocations: 0 / 1.05 GB, free: 49.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002558/0.7264, allocations: 43.92 kB / 1.05 GB, free: 49.59 MB / 0.698 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.0002268/0.7266, allocations: 232.5 kB / 1.051 GB, free: 49.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.572e-05/0.7267, allocations: 15.3 kB / 1.051 GB, free: 49.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7267, allocations: 0 / 1.051 GB, free: 49.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.315e-06/0.7267, allocations: 1.688 kB / 1.051 GB, free: 49.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.727, allocations: 0.5316 MB / 1.051 GB, free: 48.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001963/0.7272, allocations: 191.9 kB / 1.051 GB, free: 48.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.822e-05/0.7273, allocations: 0.6746 MB / 1.052 GB, free: 47.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.13e-05/0.7274, allocations: 12.92 kB / 1.052 GB, free: 47.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.7274, allocations: 7.438 kB / 1.052 GB, free: 47.98 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.7274, allocations: 0 / 1.052 GB, free: 47.98 MB / 0.698 GB Notification: Performance of Templates: time 0.003466/0.7309, allocations: 1.182 MB / 1.053 GB, free: 47.77 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)