Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.339/1.339, allocations: 255.9 MB / 271.2 MB, free: 8.902 MB / 218.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.001113/0.001114, allocations: 182.8 kB / 330.8 MB, free: 472 kB / 250.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.508/1.508, allocations: 225.7 MB / 0.6016 GB, free: 15.86 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008283/0.0008284, allocations: 102.4 kB / 0.709 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.000345, allocations: 8.562 kB / 0.8261 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1927, allocations: 109.2 MB / 0.9327 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00423/0.1969, allocations: 3.732 MB / 0.9364 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001874/0.1972, allocations: 224.7 kB / 0.9366 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.1972, allocations: 0 / 0.9366 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.1973, allocations: 15.88 kB / 0.9366 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.657e-05/0.1974, allocations: 11.98 kB / 0.9366 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.1978, allocations: 67.77 kB / 0.9367 GB, free: 19.99 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.1979, allocations: 55.83 kB / 0.9367 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.163e-05/0.198, allocations: 0 / 0.9367 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.384e-05/0.198, allocations: 11.98 kB / 0.9367 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.1981, allocations: 19.91 kB / 0.9368 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1981, allocations: 0 / 0.9368 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.1984, allocations: 79.8 kB / 0.9368 GB, free: 19.83 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/0.1985, allocations: 3.984 kB / 0.9368 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.1985, allocations: 33.69 kB / 0.9369 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.1986, allocations: 47.83 kB / 0.9369 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1986, allocations: 0 / 0.9369 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1987, allocations: 4 kB / 0.9369 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.1987, allocations: 0 / 0.9369 GB, free: 19.73 MB / 0.5886 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.000337/0.199, allocations: 327.8 kB / 0.9372 GB, free: 19.37 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1991, allocations: 11.98 kB / 0.9373 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.1991, allocations: 4.938 kB / 0.9373 GB, free: 19.35 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.725e-05/0.1992, allocations: 168.3 kB / 0.9374 GB, free: 19.15 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/0.1993, allocations: 26.27 kB / 0.9374 GB, free: 19.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.1993, allocations: 4.375 kB / 0.9374 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.1994, allocations: 49.61 kB / 0.9375 GB, free: 19.06 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1994, allocations: 0 / 0.9375 GB, free: 19.06 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1994, allocations: 0 / 0.9375 GB, free: 19.06 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.1995, allocations: 3.938 kB / 0.9375 GB, free: 19.05 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.074e-05/0.1995, allocations: 15.98 kB / 0.9375 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.1999, allocations: 330 kB / 0.9378 GB, free: 18.65 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.423e-05/0.1999, allocations: 22.61 kB / 0.9378 GB, free: 18.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.1999, allocations: 8.797 kB / 0.9379 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/0.2, allocations: 89.17 kB / 0.9379 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.2, allocations: 38.5 kB / 0.938 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.2, allocations: 4 kB / 0.938 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001378/0.2002, allocations: 33.69 kB / 0.938 GB, free: 18.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.2002, allocations: 55.41 kB / 0.9381 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.17e-05/0.2003, allocations: 97.86 kB / 0.9382 GB, free: 18.24 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.2003, allocations: 25.7 kB / 0.9382 GB, free: 18.21 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.2003, allocations: 91.97 kB / 0.9383 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-06/0.2003, allocations: 4 kB / 0.9383 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.2003, allocations: 4 kB / 0.9383 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.843e-05/0.2004, allocations: 318.9 kB / 0.9386 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.2004, allocations: 4 kB / 0.9386 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/0.2004, allocations: 21.64 kB / 0.9386 GB, free: 17.75 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.2005, allocations: 21.66 kB / 0.9386 GB, free: 17.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2005, allocations: 0 / 0.9386 GB, free: 17.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.353e-05/0.2005, allocations: 53.81 kB / 0.9387 GB, free: 17.67 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2006, allocations: 15.97 kB / 0.9387 GB, free: 17.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2006, allocations: 0 / 0.9387 GB, free: 17.65 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2006, allocations: 0 / 0.9387 GB, free: 17.65 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.189e-05/0.2006, allocations: 4 kB / 0.9387 GB, free: 17.65 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.2007, allocations: 4 kB / 0.9387 GB, free: 17.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.951e-05/0.2007, allocations: 0 / 0.9387 GB, free: 17.64 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.2007, allocations: 3.984 kB / 0.9387 GB, free: 17.64 MB / 0.5886 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.777e-05/0.2007, allocations: 114.4 kB / 0.9388 GB, free: 17.52 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.2008, allocations: 7.984 kB / 0.9388 GB, free: 17.51 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.046e-05/0.2009, allocations: 120.9 kB / 0.9389 GB, free: 17.38 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.2009, allocations: 176.3 kB / 0.9391 GB, free: 17.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.618e-05/0.2009, allocations: 180.2 kB / 0.9393 GB, free: 17.02 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.2009, allocations: 184.2 kB / 0.9395 GB, free: 16.83 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.2011, allocations: 409.2 kB / 0.9398 GB, free: 16.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.2011, allocations: 108.9 kB / 0.94 GB, free: 16.26 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.37e-05/0.2011, allocations: 101 kB / 0.94 GB, free: 16.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.278e-05/0.2012, allocations: 184.2 kB / 0.9402 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.2012, allocations: 176.3 kB / 0.9404 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.361e-05/0.2012, allocations: 180.3 kB / 0.9406 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.248e-05/0.2012, allocations: 192.1 kB / 0.9407 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.173e-05/0.2013, allocations: 311.7 kB / 0.941 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.2014, allocations: 186 kB / 0.9412 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.2014, allocations: 180.3 kB / 0.9414 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.2015, allocations: 112.9 kB / 0.9415 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.2016, allocations: 184.2 kB / 0.9417 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.2016, allocations: 104.9 kB / 0.9418 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.631e-05/0.2016, allocations: 79.28 kB / 0.9419 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2016, allocations: 0 / 0.9419 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000219/0.2018, allocations: 16 kB / 0.9419 GB, free: 14.18 MB / 0.5886 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.0001936/0.202, allocations: 214.4 kB / 0.9421 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.951e-05/0.2021, allocations: 11.98 kB / 0.9421 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2021, allocations: 0 / 0.9421 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.2021, allocations: 0 / 0.9421 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.2024, allocations: 0.5303 MB / 0.9426 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002093/0.2027, allocations: 187.9 kB / 0.9428 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.943e-05/0.2028, allocations: 0.6731 MB / 0.9434 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.062e-05/0.2028, allocations: 7.984 kB / 0.9434 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.2028, allocations: 15.38 kB / 0.9435 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/0.2028, allocations: 4 kB / 0.9435 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of Templates: time 0.002316/0.2052, allocations: 0.574 MB / 0.944 GB, free: 11.91 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)