Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8222/0.8222, allocations: 143.8 MB / 159.1 MB, free: 6.488 MB / 122.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.001114/0.001113, allocations: 182.3 kB / 192 MB, free: 6.723 MB / 154.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.381/1.381, allocations: 225.7 MB / 450.4 MB, free: 4.949 MB / 330.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.0006978/0.0006979, allocations: 111.5 kB / 0.5211 GB, free: 1.617 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001715, allocations: 279.3 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004478, allocations: 13.78 kB / 0.6948 GB, free: 59.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1517, allocations: 82.45 MB / 0.7753 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00168/0.1535, allocations: 1.212 MB / 0.7765 GB, free: 13.16 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4404/0.5939, allocations: 120.9 MB / 0.8946 GB, free: 16.53 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.838e-05/0.594, allocations: 1.281 kB / 0.8946 GB, free: 16.53 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.594, allocations: 3.609 kB / 0.8946 GB, free: 16.53 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.678e-05/0.5941, allocations: 9.828 kB / 0.8946 GB, free: 16.53 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.5944, allocations: 60.2 kB / 0.8947 GB, free: 16.53 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.955e-05/0.5945, allocations: 58.48 kB / 0.8947 GB, free: 16.52 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.863e-05/0.5946, allocations: 12.03 kB / 0.8947 GB, free: 16.52 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.198e-05/0.5947, allocations: 22.75 kB / 0.8947 GB, free: 16.52 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.5948, allocations: 20.19 kB / 0.8948 GB, free: 16.52 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.5948, allocations: 2.312 kB / 0.8948 GB, free: 16.52 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.139e-05/0.5949, allocations: 17.38 kB / 0.8948 GB, free: 16.52 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.5949, allocations: 9.25 kB / 0.8948 GB, free: 16.52 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.5949, allocations: 44.84 kB / 0.8948 GB, free: 16.49 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.5951, allocations: 56.64 kB / 0.8949 GB, free: 16.48 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5951, allocations: 0.75 kB / 0.8949 GB, free: 16.48 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5951, allocations: 0 / 0.8949 GB, free: 16.48 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.5951, allocations: 0 / 0.8949 GB, free: 16.48 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004871/0.5956, allocations: 375.7 kB / 0.8952 GB, free: 16.12 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.5956, allocations: 11.91 kB / 0.8953 GB, free: 16.12 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.5957, allocations: 8.562 kB / 0.8953 GB, free: 16.12 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.5958, allocations: 168.1 kB / 0.8954 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.5958, allocations: 2.75 kB / 0.8954 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.5959, allocations: 5.469 kB / 0.8954 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.5961, allocations: 85.66 kB / 0.8955 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.5961, allocations: 0.9375 kB / 0.8955 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.5961, allocations: 7.875 kB / 0.8955 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.5962, allocations: 2.562 kB / 0.8955 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.5964, allocations: 88.17 kB / 0.8956 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.5968, allocations: 284.7 kB / 0.8959 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.597, allocations: 72.58 kB / 0.896 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.5972, allocations: 53.36 kB / 0.896 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.5973, allocations: 86.47 kB / 0.8961 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.5974, allocations: 34.03 kB / 0.8961 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.5974, allocations: 0 / 0.8961 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0005219/0.5979, allocations: 171.6 kB / 0.8963 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.5979, allocations: 52.06 kB / 0.8963 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/0.598, allocations: 120.1 kB / 0.8964 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.598, allocations: 25.7 kB / 0.8965 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.5981, allocations: 88.06 kB / 0.8966 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.5981, allocations: 7.875 kB / 0.8966 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.5981, allocations: 0 / 0.8966 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5982, allocations: 325.4 kB / 0.8969 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.5984, allocations: 42.16 kB / 0.8969 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.5985, allocations: 48.38 kB / 0.897 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.5988, allocations: 94.06 kB / 0.897 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5988, allocations: 0 / 0.897 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002955/0.5991, allocations: 122.9 kB / 0.8972 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.5991, allocations: 6.438 kB / 0.8972 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5991, allocations: 0 / 0.8972 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.5991, allocations: 4.031 kB / 0.8972 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.5992, allocations: 22.22 kB / 0.8972 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5993, allocations: 7 kB / 0.8972 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.577e-05/0.5993, allocations: 19.47 kB / 0.8972 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.5994, allocations: 3.562 kB / 0.8972 GB, free: 14.72 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.202e-05/0.5994, allocations: 115.5 kB / 0.8973 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.5995, allocations: 6.5 kB / 0.8973 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.5998, allocations: 131.9 kB / 0.8975 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5998, allocations: 1.375 kB / 0.8975 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.5999, allocations: 5.859 kB / 0.8975 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5999, allocations: 0.7031 kB / 0.8975 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.6, allocations: 174.4 kB / 0.8976 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.6, allocations: 3.172 kB / 0.8976 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.315e-05/0.6001, allocations: 22.7 kB / 0.8977 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6001, allocations: 2.969 kB / 0.8977 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.6001, allocations: 0 / 0.8977 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6001, allocations: 2.531 kB / 0.8977 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6002, allocations: 5.625 kB / 0.8977 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.6005, allocations: 216.2 kB / 0.8979 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.6005, allocations: 84.23 kB / 0.898 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.6006, allocations: 0.5625 kB / 0.898 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.6007, allocations: 16.55 kB / 0.898 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.6007, allocations: 9.141 kB / 0.898 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.6007, allocations: 4 kB / 0.898 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.354e-05/0.6008, allocations: 91.8 kB / 0.8981 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6008, allocations: 0 / 0.8981 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002093/0.601, allocations: 19.17 kB / 0.8981 GB, free: 14.04 MB / 0.5573 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 (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 Backend phase and start with SimCode phase: time 0.0001378/0.6012, allocations: 112.5 kB / 0.8982 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.6015, allocations: 90.67 kB / 0.8983 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6015, allocations: 0 / 0.8983 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.6016, allocations: 50.62 kB / 0.8983 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.6019, allocations: 19.36 kB / 0.8984 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.6022, allocations: 188.8 kB / 0.8985 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.6025, allocations: 0.6832 MB / 0.8992 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.226e-05/0.6025, allocations: 2.875 kB / 0.8992 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.6025, allocations: 10.25 kB / 0.8992 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of SimCode: time 2.4e-07/0.6025, allocations: 0 / 0.8992 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of Templates: time 0.002558/0.6051, allocations: 0.8474 MB / 0.9 GB, free: 13 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)