Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.815/1.815, allocations: 306.1 MB / 321.4 MB, free: 10.71 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.00134/0.00134, allocations: 179.5 kB / 393.1 MB, free: 4.055 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.458/1.458, 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.000779/0.000779, allocations: 96.84 kB / 0.7935 GB, free: 39.87 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 10.91 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6757/0.6761, allocations: 121.3 MB / 1.041 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1441/0.8203, allocations: 124.4 MB / 1.162 GB, free: 484 kB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001978/0.8205, allocations: 52.69 kB / 1.162 GB, free: 448 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.8206, allocations: 0 / 1.162 GB, free: 448 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.8207, allocations: 1.125 kB / 1.162 GB, free: 448 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.8209, allocations: 18.52 kB / 1.162 GB, free: 436 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.8221, allocations: 222.4 kB / 1.163 GB, free: 324 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.8222, allocations: 54.38 kB / 1.163 GB, free: 312 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.8222, allocations: 1.188 kB / 1.163 GB, free: 312 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.588e-05/0.8223, allocations: 25 kB / 1.163 GB, free: 300 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.227e-05/0.8224, allocations: 10.47 kB / 1.163 GB, free: 296 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.8224, allocations: 1 kB / 1.163 GB, free: 296 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005226/0.823, allocations: 239.4 kB / 1.163 GB, free: 208 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.823, allocations: 5.781 kB / 1.163 GB, free: 208 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.8231, allocations: 34.52 kB / 1.163 GB, free: 172 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.8235, allocations: 194.8 kB / 1.163 GB, free: 120 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.8235, allocations: 0.6562 kB / 1.163 GB, free: 120 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8235, allocations: 0 / 1.163 GB, free: 120 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.8235, allocations: 0.6875 kB / 1.163 GB, free: 120 kB / 0.7292 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.0004967/0.824, allocations: 359.9 kB / 1.164 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.8241, allocations: 12.17 kB / 1.164 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.8241, allocations: 2.438 kB / 1.164 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.8243, allocations: 161.7 kB / 1.164 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/0.8243, allocations: 27.58 kB / 1.164 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.8244, allocations: 5.219 kB / 1.164 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.8245, allocations: 51.08 kB / 1.164 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8245, allocations: 0 / 1.164 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.8245, allocations: 4 kB / 1.164 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.8246, allocations: 1.125 kB / 1.164 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.762e-05/0.8246, allocations: 13.28 kB / 1.164 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/0.8254, allocations: 0.6014 MB / 1.164 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.236e-05/0.8255, allocations: 20.92 kB / 1.164 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.8255, allocations: 9.859 kB / 1.164 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/0.8258, allocations: 337.7 kB / 1.165 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.8258, allocations: 35.08 kB / 1.165 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.8258, allocations: 0 / 1.165 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001604/0.826, allocations: 39.8 kB / 1.165 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.826, allocations: 52.81 kB / 1.165 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.8261, allocations: 102.8 kB / 1.165 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.8262, allocations: 29.83 kB / 1.165 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.8262, allocations: 81.55 kB / 1.165 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.8262, allocations: 9.125 kB / 1.165 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.8263, allocations: 3.938 kB / 1.165 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.8264, allocations: 323.5 kB / 1.165 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.8264, allocations: 6.531 kB / 1.165 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.8265, allocations: 21.41 kB / 1.165 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.114e-05/0.8265, allocations: 27.44 kB / 1.165 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8265, allocations: 0 / 1.165 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.327e-05/0.8266, allocations: 49.86 kB / 1.165 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.8266, allocations: 9.594 kB / 1.166 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.8267, allocations: 0 / 1.166 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.8267, allocations: 1.094 kB / 1.166 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.547e-05/0.8267, allocations: 4.656 kB / 1.166 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.8267, allocations: 1.156 kB / 1.166 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.8268, allocations: 5.344 kB / 1.166 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.8268, allocations: 4.969 kB / 1.166 GB, free: 13.59 MB / 0.7448 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 8.377e-05/0.8269, allocations: 114 kB / 1.166 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.8269, allocations: 5.062 kB / 1.166 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.827, allocations: 120.5 kB / 1.166 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.534e-05/0.8271, allocations: 181 kB / 1.166 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-05/0.8272, allocations: 189.8 kB / 1.166 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-05/0.8273, allocations: 176.3 kB / 1.166 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.8275, allocations: 408.3 kB / 1.167 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-05/0.8275, allocations: 104.9 kB / 1.167 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.8276, allocations: 102 kB / 1.167 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.212e-05/0.8277, allocations: 188.9 kB / 1.167 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/0.8277, allocations: 177.8 kB / 1.167 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.155e-05/0.8278, allocations: 181.7 kB / 1.167 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.832e-05/0.8279, allocations: 180.2 kB / 1.168 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.8281, allocations: 307.7 kB / 1.168 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/0.8281, allocations: 187.8 kB / 1.168 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.929e-05/0.8282, allocations: 188.8 kB / 1.168 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.8284, allocations: 105 kB / 1.168 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.8285, allocations: 181.2 kB / 1.168 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.8285, allocations: 104.9 kB / 1.169 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.8e-05/0.8286, allocations: 93.28 kB / 1.169 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8286, allocations: 0 / 1.169 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003321/0.8289, allocations: 60.91 kB / 1.169 GB, free: 10.19 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 (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.0003557/0.8293, allocations: 258.1 kB / 1.169 GB, free: 10 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.529e-05/0.8294, allocations: 9.328 kB / 1.169 GB, free: 10 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8294, allocations: 0 / 1.169 GB, free: 10 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-06/0.8294, allocations: 5.125 kB / 1.169 GB, free: 10 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.8298, allocations: 0.5215 MB / 1.169 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.8301, allocations: 196.4 kB / 1.17 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.8304, allocations: 0.672 MB / 1.17 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.235e-05/0.8304, allocations: 8.016 kB / 1.17 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.8304, allocations: 8.875 kB / 1.17 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/0.8304, allocations: 0 / 1.17 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of Templates: time 0.003557/0.834, allocations: 1.268 MB / 1.172 GB, free: 8.391 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)