Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") 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.798/1.798, allocations: 297.4 MB / 312.6 MB, free: 2.938 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.0009578/0.0009578, allocations: 186 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.497/1.497, allocations: 225.7 MB / 0.6617 GB, free: 7.254 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.0007972/0.0007972, allocations: 94.55 kB / 0.7789 GB, free: 46.74 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.000311, allocations: 8 kB / 0.9058 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5595/0.5598, allocations: 119.2 MB / 1.022 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1278/0.6877, allocations: 135.6 MB / 1.155 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000114/0.6879, allocations: 47.88 kB / 1.155 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.6879, allocations: 0 / 1.155 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.688, allocations: 3.938 kB / 1.155 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.975e-05/0.6881, allocations: 15.39 kB / 1.155 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.6886, allocations: 94.12 kB / 1.155 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.753e-05/0.6887, allocations: 53.48 kB / 1.155 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.6887, allocations: 1.969 kB / 1.155 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.379e-05/0.6887, allocations: 23.09 kB / 1.155 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.86e-05/0.6888, allocations: 11.98 kB / 1.155 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.6888, allocations: 0 / 1.155 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.6891, allocations: 78.44 kB / 1.155 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.6892, allocations: 9.906 kB / 1.155 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.6892, allocations: 38.77 kB / 1.155 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.6894, allocations: 68.25 kB / 1.155 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6894, allocations: 4 kB / 1.155 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6894, allocations: 1.469 kB / 1.155 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.6894, allocations: 0 / 1.155 GB, free: 8.398 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004105/0.6898, allocations: 336.3 kB / 1.155 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.6899, allocations: 8.312 kB / 1.155 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.6901, allocations: 20.66 kB / 1.155 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.6902, allocations: 165.3 kB / 1.156 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/0.6903, allocations: 34.92 kB / 1.156 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.6903, allocations: 1.031 kB / 1.156 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.6905, allocations: 55.55 kB / 1.156 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.6905, allocations: 0 / 1.156 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.6905, allocations: 0 / 1.156 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.6905, allocations: 2.906 kB / 1.156 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.614e-05/0.6906, allocations: 17.2 kB / 1.156 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.691, allocations: 266.2 kB / 1.156 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.926e-05/0.691, allocations: 15.55 kB / 1.156 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.836e-05/0.6911, allocations: 6.891 kB / 1.156 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.6911, allocations: 0 / 1.156 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.6911, allocations: 35.72 kB / 1.156 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.6911, allocations: 3.938 kB / 1.156 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.6913, allocations: 43.05 kB / 1.156 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.6913, allocations: 56.84 kB / 1.156 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.286e-05/0.6914, allocations: 104 kB / 1.156 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.6914, allocations: 26.7 kB / 1.156 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.6915, allocations: 92.81 kB / 1.156 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.66e-06/0.6915, allocations: 1.375 kB / 1.156 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.6915, allocations: 4 kB / 1.156 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.6916, allocations: 312.5 kB / 1.157 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.6916, allocations: 6.688 kB / 1.157 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.6917, allocations: 33.25 kB / 1.157 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.078e-05/0.6917, allocations: 29.81 kB / 1.157 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.6917, allocations: 0 / 1.157 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.704e-05/0.6918, allocations: 63.38 kB / 1.157 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.6918, allocations: 5.406 kB / 1.157 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.6918, allocations: 0.9688 kB / 1.157 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.6919, allocations: 1.031 kB / 1.157 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/0.6919, allocations: 9.75 kB / 1.157 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.6919, allocations: 4.906 kB / 1.157 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.691e-05/0.692, allocations: 1.156 kB / 1.157 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.692, allocations: 2.594 kB / 1.157 GB, free: 6.625 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.087e-05/0.6921, allocations: 115.7 kB / 1.157 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.6921, allocations: 1.031 kB / 1.157 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.6921, allocations: 12.17 kB / 1.157 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.6921, allocations: 1.125 kB / 1.157 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.6921, allocations: 3.938 kB / 1.157 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.6921, allocations: 0 / 1.157 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.6924, allocations: 346.1 kB / 1.157 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6924, allocations: 0 / 1.157 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.6924, allocations: 1.406 kB / 1.157 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.6924, allocations: 9.156 kB / 1.157 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.6924, allocations: 0 / 1.157 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.6924, allocations: 0 / 1.157 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6925, allocations: 2.875 kB / 1.157 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.55e-05/0.6925, allocations: 62.88 kB / 1.157 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.6926, allocations: 82.3 kB / 1.157 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.6926, allocations: 0 / 1.157 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.6927, allocations: 10.7 kB / 1.157 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.6927, allocations: 1.469 kB / 1.157 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.6927, allocations: 0 / 1.157 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.6927, allocations: 87.09 kB / 1.157 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6927, allocations: 1.031 kB / 1.157 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002014/0.693, allocations: 9.938 kB / 1.157 GB, free: 5.844 MB / 0.7448 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 (1): * Single equations (assignments): 1 * 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.0001052/0.6931, allocations: 109.8 kB / 1.158 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.026e-05/0.6931, allocations: 12.59 kB / 1.158 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6931, allocations: 0 / 1.158 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.711e-06/0.6932, allocations: 5.812 kB / 1.158 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.6934, allocations: 10.64 kB / 1.158 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.6937, allocations: 122 kB / 1.158 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.6939, allocations: 0.6766 MB / 1.158 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.043e-05/0.694, allocations: 14.17 kB / 1.158 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.694, allocations: 9.875 kB / 1.158 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/0.694, allocations: 0 / 1.158 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of Templates: time 0.002134/0.6961, allocations: 445.2 kB / 1.159 GB, free: 4.859 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)