Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 297.4 MB / 312.6 MB, free: 2.906 MB / 234.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.0009696/0.0009695, allocations: 190 kB / 382.3 MB, free: 14.82 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.376/1.376, allocations: 225.7 MB / 0.6617 GB, free: 7.23 MB / 490.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.0007171/0.0007171, allocations: 99.12 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004668, allocations: 8 kB / 0.9058 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6058/0.6062, allocations: 119.2 MB / 1.022 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00445/0.6107, allocations: 3.936 MB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001806/0.611, allocations: 219.7 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.088e-05/0.611, allocations: 1.375 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.757e-05/0.6111, allocations: 1.266 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.594e-05/0.6112, allocations: 17.39 kB / 1.026 GB, free: 55.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.6115, allocations: 63.83 kB / 1.026 GB, free: 55.13 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.6116, allocations: 57.47 kB / 1.026 GB, free: 55.12 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.03e-05/0.6117, allocations: 5.188 kB / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.967e-05/0.6117, allocations: 14.67 kB / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.126e-05/0.6118, allocations: 14.56 kB / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.6118, allocations: 0 / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006579/0.6125, allocations: 191.9 kB / 1.027 GB, free: 55.04 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.6126, allocations: 12.77 kB / 1.027 GB, free: 55.04 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.6126, allocations: 39.19 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.6128, allocations: 40.53 kB / 1.027 GB, free: 54.99 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.6128, allocations: 3.5 kB / 1.027 GB, free: 54.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6128, allocations: 0.6562 kB / 1.027 GB, free: 54.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.6128, allocations: 0 / 1.027 GB, free: 54.99 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.0003976/0.6132, allocations: 330.4 kB / 1.027 GB, free: 54.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.6133, allocations: 8.812 kB / 1.027 GB, free: 54.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.6133, allocations: 2.75 kB / 1.027 GB, free: 54.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.216e-05/0.6134, allocations: 163.2 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/0.6135, allocations: 28.44 kB / 1.027 GB, free: 54.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-06/0.6135, allocations: 4.719 kB / 1.027 GB, free: 54.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.6137, allocations: 55.44 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.6137, allocations: 0.6875 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.6137, allocations: 0 / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.6137, allocations: 1.484 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.62e-05/0.6138, allocations: 14.17 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.6142, allocations: 334.8 kB / 1.028 GB, free: 53.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.436e-05/0.6142, allocations: 28.17 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.632e-05/0.6143, allocations: 8.547 kB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.734e-05/0.6143, allocations: 81.5 kB / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.6144, allocations: 38.55 kB / 1.028 GB, free: 53.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.014e-06/0.6144, allocations: 1.828 kB / 1.028 GB, free: 53.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001471/0.6145, allocations: 34.25 kB / 1.028 GB, free: 53.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.6146, allocations: 51.97 kB / 1.028 GB, free: 53.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.103e-05/0.6146, allocations: 102.1 kB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.6147, allocations: 28.48 kB / 1.028 GB, free: 53.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.6147, allocations: 93.41 kB / 1.028 GB, free: 53.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-06/0.6147, allocations: 0 / 1.028 GB, free: 53.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.6147, allocations: 0 / 1.028 GB, free: 53.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.6148, allocations: 318.7 kB / 1.028 GB, free: 53.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.6148, allocations: 3.625 kB / 1.028 GB, free: 53.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.227e-05/0.6148, allocations: 21.44 kB / 1.028 GB, free: 53.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.982e-05/0.6149, allocations: 25.17 kB / 1.028 GB, free: 53.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.6149, allocations: 0 / 1.028 GB, free: 53.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.862e-05/0.6149, allocations: 50.81 kB / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.615, allocations: 6.531 kB / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.615, allocations: 0 / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.615, allocations: 0 / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.362e-05/0.615, allocations: 5.469 kB / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.615, allocations: 1.531 kB / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.6151, allocations: 12.16 kB / 1.029 GB, free: 53.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.6151, allocations: 4.062 kB / 1.029 GB, free: 53.08 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 5.96e-05/0.6152, allocations: 117.5 kB / 1.029 GB, free: 52.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.6152, allocations: 2.438 kB / 1.029 GB, free: 52.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.202e-05/0.6153, allocations: 122.2 kB / 1.029 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.991e-05/0.6153, allocations: 184.1 kB / 1.029 GB, free: 52.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-05/0.6154, allocations: 184.2 kB / 1.029 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/0.6154, allocations: 183.8 kB / 1.029 GB, free: 52.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.6155, allocations: 408.5 kB / 1.03 GB, free: 51.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/0.6156, allocations: 104.9 kB / 1.03 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.6156, allocations: 102.5 kB / 1.03 GB, free: 51.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.973e-05/0.6156, allocations: 183 kB / 1.03 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.6157, allocations: 180.8 kB / 1.03 GB, free: 51.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.722e-05/0.6157, allocations: 182.2 kB / 1.03 GB, free: 51.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.894e-05/0.6157, allocations: 183.6 kB / 1.031 GB, free: 50.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.322e-05/0.6158, allocations: 308.9 kB / 1.031 GB, free: 50.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.6159, allocations: 186.2 kB / 1.031 GB, free: 50.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.6159, allocations: 185.5 kB / 1.031 GB, free: 50.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.616, allocations: 115.7 kB / 1.031 GB, free: 50.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.6161, allocations: 176.3 kB / 1.032 GB, free: 49.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.6161, allocations: 108.2 kB / 1.032 GB, free: 49.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.6162, allocations: 86.55 kB / 1.032 GB, free: 49.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6162, allocations: 4 kB / 1.032 GB, free: 49.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002379/0.6164, allocations: 17.44 kB / 1.032 GB, free: 49.68 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.0002463/0.6167, allocations: 206.6 kB / 1.032 GB, free: 49.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.121e-05/0.6167, allocations: 6.359 kB / 1.032 GB, free: 49.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6168, allocations: 3.938 kB / 1.032 GB, free: 49.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.985e-06/0.6168, allocations: 1.281 kB / 1.032 GB, free: 49.51 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.6171, allocations: 0.5333 MB / 1.032 GB, free: 48.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.6174, allocations: 187.4 kB / 1.033 GB, free: 48.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.6175, allocations: 0.6739 MB / 1.033 GB, free: 48.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.243e-05/0.6175, allocations: 9.75 kB / 1.033 GB, free: 48.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.444e-05/0.6176, allocations: 10.31 kB / 1.033 GB, free: 48.09 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.6176, allocations: 0 / 1.033 GB, free: 48.09 MB / 0.698 GB Notification: Performance of Templates: time 0.002511/0.6201, allocations: 0.5759 MB / 1.034 GB, free: 48 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)