Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.633/1.633, allocations: 291.7 MB / 306.8 MB, free: 7.652 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.00123/0.00123, allocations: 184.9 kB / 375.4 MB, free: 5.113 MB / 298.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.358/1.358, allocations: 225.7 MB / 0.6538 GB, free: 13.59 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.0007665/0.0007664, allocations: 100.5 kB / 0.7699 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005611/0.0005611, allocations: 12 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8317/0.8322, allocations: 118.1 MB / 1.011 GB, free: 57.97 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001373/0.8337, allocations: 0.9969 MB / 1.012 GB, free: 57.94 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.118/0.9517, allocations: 119.6 MB / 1.129 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.9518, allocations: 0 / 1.129 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.9519, allocations: 0 / 1.129 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.972e-05/0.9519, allocations: 3.938 kB / 1.129 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.9523, allocations: 53.73 kB / 1.129 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.54e-05/0.9524, allocations: 14.28 kB / 1.129 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.9524, allocations: 7.031 kB / 1.129 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.629e-05/0.9525, allocations: 9.797 kB / 1.129 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.534e-05/0.9525, allocations: 7.469 kB / 1.129 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.9525, allocations: 1.594 kB / 1.129 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.093e-05/0.9526, allocations: 17.81 kB / 1.129 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.9526, allocations: 3.156 kB / 1.129 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.9527, allocations: 29.7 kB / 1.129 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.876e-05/0.9527, allocations: 17.75 kB / 1.129 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.9527, allocations: 3.188 kB / 1.129 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9527, allocations: 0 / 1.129 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.9528, allocations: 0 / 1.129 GB, free: 10.77 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003482/0.9531, allocations: 333 kB / 1.129 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.9532, allocations: 9.906 kB / 1.129 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.9532, allocations: 4.844 kB / 1.129 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.9533, allocations: 167.7 kB / 1.129 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.764e-05/0.9534, allocations: 34.2 kB / 1.129 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.9534, allocations: 3.594 kB / 1.129 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.9535, allocations: 43.19 kB / 1.129 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.9535, allocations: 6 kB / 1.129 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.9536, allocations: 0 / 1.129 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.9536, allocations: 2.062 kB / 1.129 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.486e-05/0.9537, allocations: 18.2 kB / 1.129 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.9538, allocations: 155.6 kB / 1.13 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.836e-05/0.9539, allocations: 25.02 kB / 1.13 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.954, allocations: 24.3 kB / 1.13 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.9541, allocations: 90.22 kB / 1.13 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.9542, allocations: 38.56 kB / 1.13 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.9542, allocations: 0 / 1.13 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002035/0.9544, allocations: 59.62 kB / 1.13 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.9544, allocations: 51.41 kB / 1.13 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.101e-05/0.9545, allocations: 96.44 kB / 1.13 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.9545, allocations: 29.7 kB / 1.13 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.413e-05/0.9545, allocations: 80.14 kB / 1.13 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.9546, allocations: 11.81 kB / 1.13 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.9546, allocations: 3.312 kB / 1.13 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.9547, allocations: 314.1 kB / 1.13 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.055e-05/0.9548, allocations: 11.22 kB / 1.13 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.9548, allocations: 10.08 kB / 1.13 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.342e-05/0.9549, allocations: 22.02 kB / 1.13 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.9549, allocations: 0 / 1.13 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001046/0.955, allocations: 51.53 kB / 1.13 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.955, allocations: 7.156 kB / 1.13 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.955, allocations: 3.938 kB / 1.13 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.955, allocations: 0 / 1.13 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.883e-05/0.9551, allocations: 6.672 kB / 1.13 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.9551, allocations: 0 / 1.13 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.9551, allocations: 3.188 kB / 1.13 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.9552, allocations: 3.938 kB / 1.13 GB, free: 9.047 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.155e-05/0.9552, allocations: 117 kB / 1.131 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-06/0.9552, allocations: 5.156 kB / 1.131 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.9554, allocations: 57.08 kB / 1.131 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.9554, allocations: 5.766 kB / 1.131 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.9554, allocations: 6.766 kB / 1.131 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.9554, allocations: 0 / 1.131 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.9555, allocations: 154 kB / 1.131 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.9555, allocations: 0 / 1.131 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.9556, allocations: 3.219 kB / 1.131 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.9556, allocations: 7.344 kB / 1.131 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.9556, allocations: 4 kB / 1.131 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9556, allocations: 0 / 1.131 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.9556, allocations: 3.938 kB / 1.131 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.9557, allocations: 76.36 kB / 1.131 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.9558, allocations: 85.38 kB / 1.131 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.9558, allocations: 3.938 kB / 1.131 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.689e-05/0.9559, allocations: 3.25 kB / 1.131 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.9559, allocations: 4 kB / 1.131 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.9559, allocations: 3.188 kB / 1.131 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.164e-05/0.956, allocations: 80.77 kB / 1.131 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.956, allocations: 0 / 1.131 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001782/0.9561, allocations: 9.531 kB / 1.131 GB, free: 8.418 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001656/0.9563, allocations: 119 kB / 1.131 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.9565, allocations: 20.19 kB / 1.131 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9565, allocations: 5.031 kB / 1.131 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.564e-05/0.9565, allocations: 14.5 kB / 1.131 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.9567, allocations: 3.281 kB / 1.131 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.957, allocations: 141.4 kB / 1.131 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.9573, allocations: 0.68 MB / 1.132 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.204e-05/0.9574, allocations: 12.27 kB / 1.132 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/0.9574, allocations: 7.438 kB / 1.132 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/0.9574, allocations: 0 / 1.132 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.002418/0.9598, allocations: 480.9 kB / 1.133 GB, free: 7.441 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)