Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.802/1.802, allocations: 306.1 MB / 321.4 MB, free: 10.76 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.001246/0.001246, allocations: 187.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.368/1.368, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.0009017/0.0009017, allocations: 95.72 kB / 0.7935 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003884, allocations: 12 kB / 0.9224 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5673/0.5678, allocations: 121.3 MB / 1.041 GB, free: 58.3 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001411/0.5692, allocations: 0.9967 MB / 1.042 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.5708, allocations: 1.409 MB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.5708, allocations: 2.062 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.5709, allocations: 2.438 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.85e-05/0.5709, allocations: 6.375 kB / 1.043 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.5714, allocations: 106.6 kB / 1.043 GB, free: 56.28 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.592e-05/0.5715, allocations: 32.16 kB / 1.043 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.5716, allocations: 4.766 kB / 1.043 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.772e-05/0.5716, allocations: 10.97 kB / 1.043 GB, free: 56.26 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/0.5717, allocations: 12.78 kB / 1.043 GB, free: 56.26 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.5717, allocations: 1.781 kB / 1.043 GB, free: 56.26 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004017/0.5721, allocations: 166.9 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.5722, allocations: 4.234 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.5722, allocations: 42.33 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.5725, allocations: 121.5 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5725, allocations: 0 / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5725, allocations: 0 / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.5726, allocations: 0.875 kB / 1.044 GB, free: 56.14 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004045/0.573, allocations: 357.1 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.573, allocations: 8.656 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.5731, allocations: 6.938 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.082e-05/0.5732, allocations: 165.5 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.007e-05/0.5732, allocations: 26.89 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.5733, allocations: 2.406 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.5734, allocations: 44.14 kB / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5734, allocations: 10.88 kB / 1.044 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.5735, allocations: 6.344 kB / 1.044 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.5735, allocations: 0.75 kB / 1.044 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.5736, allocations: 16.88 kB / 1.044 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.5737, allocations: 160 kB / 1.044 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.574, allocations: 46.55 kB / 1.045 GB, free: 55.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.5741, allocations: 21.89 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.5744, allocations: 179.2 kB / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.5744, allocations: 32.62 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.5744, allocations: 0 / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002735/0.5747, allocations: 79.16 kB / 1.045 GB, free: 54.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.5747, allocations: 52.03 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.489e-05/0.5748, allocations: 102.6 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.5748, allocations: 25.7 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.322e-05/0.5748, allocations: 80.83 kB / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.5748, allocations: 16.56 kB / 1.045 GB, free: 54.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.5748, allocations: 0 / 1.045 GB, free: 54.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.5749, allocations: 310.8 kB / 1.045 GB, free: 54.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/0.575, allocations: 13.22 kB / 1.045 GB, free: 54.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.858e-05/0.575, allocations: 10.7 kB / 1.045 GB, free: 54.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.5751, allocations: 26.36 kB / 1.045 GB, free: 54.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5752, allocations: 3.406 kB / 1.045 GB, free: 54.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001603/0.5753, allocations: 59.64 kB / 1.045 GB, free: 54.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.5754, allocations: 13.66 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5754, allocations: 0 / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5754, allocations: 7.312 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.5755, allocations: 7.953 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.5755, allocations: 0 / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.866e-05/0.5756, allocations: 7.141 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.5756, allocations: 1.562 kB / 1.046 GB, free: 54.29 MB / 0.698 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 (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 5.581e-05/0.5756, allocations: 113.9 kB / 1.046 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.5757, allocations: 5.75 kB / 1.046 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.5759, allocations: 66.64 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5759, allocations: 0.6094 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.5759, allocations: 1.25 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5759, allocations: 1.969 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.099e-05/0.576, allocations: 158.6 kB / 1.046 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.576, allocations: 3.469 kB / 1.046 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.5761, allocations: 8.531 kB / 1.046 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5761, allocations: 3.938 kB / 1.046 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.5761, allocations: 4 kB / 1.046 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5761, allocations: 0.7812 kB / 1.046 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5761, allocations: 11.86 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.5763, allocations: 86.97 kB / 1.046 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.5763, allocations: 83.78 kB / 1.046 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.5763, allocations: 7.719 kB / 1.046 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.02e-05/0.5764, allocations: 0.9844 kB / 1.046 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.5765, allocations: 11.62 kB / 1.046 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.5765, allocations: 0 / 1.046 GB, free: 53.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.908e-05/0.5765, allocations: 77.09 kB / 1.046 GB, free: 53.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5765, allocations: 0 / 1.046 GB, free: 53.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003464/0.5769, allocations: 38.97 kB / 1.046 GB, free: 53.64 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 (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 Backend phase and start with SimCode phase: time 0.0002227/0.5771, allocations: 146.7 kB / 1.046 GB, free: 53.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001599/0.5773, allocations: 25.81 kB / 1.046 GB, free: 53.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5773, allocations: 1.5 kB / 1.046 GB, free: 53.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.537e-05/0.5773, allocations: 18.31 kB / 1.046 GB, free: 53.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.5776, allocations: 13.41 kB / 1.046 GB, free: 53.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.5779, allocations: 144 kB / 1.047 GB, free: 53.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.278e-05/0.578, allocations: 0.6745 MB / 1.047 GB, free: 52.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.481e-05/0.5781, allocations: 4.281 kB / 1.047 GB, free: 52.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.5781, allocations: 13 kB / 1.047 GB, free: 52.7 MB / 0.698 GB Notification: Performance of SimCode: time 3e-07/0.5781, allocations: 3.938 kB / 1.047 GB, free: 52.69 MB / 0.698 GB Notification: Performance of Templates: time 0.003784/0.5819, allocations: 1.011 MB / 1.048 GB, free: 52.59 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)