Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.926/1.926, allocations: 306.1 MB / 321.4 MB, free: 10.77 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.001142/0.001142, allocations: 171.5 kB / 393.1 MB, free: 4.086 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.433/1.433, 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.0008149/0.0008149, allocations: 100 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.000318, allocations: 8 kB / 0.9224 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5963/0.5966, allocations: 121.3 MB / 1.041 GB, free: 58.51 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003859/0.6006, allocations: 3.736 MB / 1.045 GB, free: 55.8 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001718/0.6008, allocations: 232.9 kB / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.6008, allocations: 0 / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.481e-05/0.6009, allocations: 2.641 kB / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.482e-05/0.601, allocations: 18.73 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.6013, allocations: 75.05 kB / 1.045 GB, free: 55.56 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.599e-05/0.6014, allocations: 58.98 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.6014, allocations: 1.281 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.6015, allocations: 16 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.6016, allocations: 24.83 kB / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.6016, allocations: 0 / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.6018, allocations: 65.89 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.6019, allocations: 5.453 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.6019, allocations: 41.97 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.6021, allocations: 41.03 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.6021, allocations: 0 / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.145e-06/0.6021, allocations: 0.6094 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.6021, allocations: 1.688 kB / 1.045 GB, free: 55.46 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.0003642/0.6025, allocations: 336.5 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.6025, allocations: 6.438 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.6026, allocations: 3.125 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.134e-05/0.6027, allocations: 163.1 kB / 1.046 GB, free: 54.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.447e-05/0.6027, allocations: 37.98 kB / 1.046 GB, free: 54.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.6028, allocations: 1.656 kB / 1.046 GB, free: 54.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.6029, allocations: 57.31 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.6029, allocations: 0.75 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.6029, allocations: 0 / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.603, allocations: 0.5625 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.938e-05/0.603, allocations: 19.58 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.6035, allocations: 330 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.314e-05/0.6035, allocations: 23.08 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.6035, allocations: 8.828 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.057e-05/0.6036, allocations: 87.34 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.6036, allocations: 31.31 kB / 1.046 GB, free: 54.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.6036, allocations: 0 / 1.046 GB, free: 54.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001507/0.6038, allocations: 37.97 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.6038, allocations: 57.62 kB / 1.046 GB, free: 54.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.954e-05/0.6039, allocations: 106 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.6039, allocations: 28.09 kB / 1.046 GB, free: 54.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.604, allocations: 91.64 kB / 1.046 GB, free: 53.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-06/0.604, allocations: 0 / 1.046 GB, free: 53.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.604, allocations: 0.7812 kB / 1.046 GB, free: 53.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.6041, allocations: 316.9 kB / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.6041, allocations: 3.125 kB / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.584e-05/0.6041, allocations: 23.25 kB / 1.047 GB, free: 53.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.6042, allocations: 19.5 kB / 1.047 GB, free: 53.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6042, allocations: 0 / 1.047 GB, free: 53.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.666e-05/0.6042, allocations: 51.42 kB / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.6043, allocations: 6.875 kB / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6043, allocations: 192 / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.6043, allocations: 6.375 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.291e-05/0.6043, allocations: 5.109 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.6043, allocations: 3.75 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.6044, allocations: 0 / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.6044, allocations: 0 / 1.047 GB, free: 53.55 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 6.254e-05/0.6045, allocations: 127.9 kB / 1.047 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.6045, allocations: 3.906 kB / 1.047 GB, free: 53.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.27e-05/0.6046, allocations: 120.1 kB / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/0.6046, allocations: 180.9 kB / 1.047 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-05/0.6046, allocations: 182.1 kB / 1.047 GB, free: 52.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.388e-05/0.6047, allocations: 182.7 kB / 1.048 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.6048, allocations: 415.8 kB / 1.048 GB, free: 52.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/0.6048, allocations: 103 kB / 1.048 GB, free: 52.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/0.6049, allocations: 106.2 kB / 1.048 GB, free: 52.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.359e-05/0.6049, allocations: 181.6 kB / 1.048 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.6049, allocations: 179 kB / 1.049 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-05/0.6049, allocations: 188.3 kB / 1.049 GB, free: 51.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-05/0.605, allocations: 178 kB / 1.049 GB, free: 51.35 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.727e-05/0.605, allocations: 314.6 kB / 1.049 GB, free: 51.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.6051, allocations: 181 kB / 1.049 GB, free: 50.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.6051, allocations: 186.8 kB / 1.05 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.6053, allocations: 107 kB / 1.05 GB, free: 50.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.6053, allocations: 186.1 kB / 1.05 GB, free: 50.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.6054, allocations: 101 kB / 1.05 GB, free: 50.24 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.124e-05/0.6054, allocations: 87.41 kB / 1.05 GB, free: 50.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6054, allocations: 0 / 1.05 GB, free: 50.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002374/0.6056, allocations: 15.75 kB / 1.05 GB, free: 50.16 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.0002135/0.6059, allocations: 200.5 kB / 1.05 GB, free: 49.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.027e-05/0.6059, allocations: 17.42 kB / 1.05 GB, free: 49.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.606, allocations: 3.938 kB / 1.05 GB, free: 49.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.606, allocations: 0 / 1.05 GB, free: 49.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.6062, allocations: 0.5222 MB / 1.051 GB, free: 49.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.6065, allocations: 190.1 kB / 1.051 GB, free: 49.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.6066, allocations: 0.6815 MB / 1.052 GB, free: 48.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.618e-05/0.6067, allocations: 6.688 kB / 1.052 GB, free: 48.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.6067, allocations: 14.84 kB / 1.052 GB, free: 48.55 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.6067, allocations: 0 / 1.052 GB, free: 48.55 MB / 0.698 GB Notification: Performance of Templates: time 0.00275/0.6095, allocations: 0.6143 MB / 1.052 GB, free: 48.47 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)