Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.86/1.86, allocations: 306.1 MB / 321.4 MB, free: 10.74 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.001228/0.001227, 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.393/1.393, allocations: 225.7 MB / 0.6743 GB, free: 12.57 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.0009077/0.0009079, allocations: 91.89 kB / 0.7935 GB, free: 40.23 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 8 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5536/0.554, allocations: 121.3 MB / 1.041 GB, free: 59.13 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001145/0.5552, allocations: 0.9858 MB / 1.042 GB, free: 58.49 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0005412/0.5557, allocations: 0.5072 MB / 1.042 GB, free: 58.02 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.396e-05/0.5558, allocations: 0 / 1.042 GB, free: 58.02 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.16e-05/0.5558, allocations: 0.9688 kB / 1.042 GB, free: 58.02 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.33e-05/0.5558, allocations: 12.62 kB / 1.042 GB, free: 58.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.556, allocations: 38.8 kB / 1.042 GB, free: 58 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.496e-05/0.5561, allocations: 17.83 kB / 1.042 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.5561, allocations: 5.016 kB / 1.042 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.106e-05/0.5562, allocations: 5.406 kB / 1.042 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.5562, allocations: 12.34 kB / 1.042 GB, free: 57.98 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.5562, allocations: 2.969 kB / 1.042 GB, free: 57.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.5564, allocations: 49.67 kB / 1.042 GB, free: 57.97 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.5564, allocations: 5.875 kB / 1.042 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.5564, allocations: 37.23 kB / 1.043 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.5565, allocations: 49.66 kB / 1.043 GB, free: 57.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5565, allocations: 0 / 1.043 GB, free: 57.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5566, allocations: 0.9688 kB / 1.043 GB, free: 57.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.5566, allocations: 0 / 1.043 GB, free: 57.91 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.0002585/0.5568, allocations: 333 kB / 1.043 GB, free: 57.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.5569, allocations: 10.12 kB / 1.043 GB, free: 57.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.5571, allocations: 28.81 kB / 1.043 GB, free: 57.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.03e-05/0.5571, allocations: 160.4 kB / 1.043 GB, free: 57.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.5572, allocations: 4.312 kB / 1.043 GB, free: 57.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.5572, allocations: 2.156 kB / 1.043 GB, free: 57.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.838e-05/0.5573, allocations: 39.69 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.5573, allocations: 3.422 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.5573, allocations: 4.938 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5573, allocations: 2.062 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.404e-05/0.5573, allocations: 20.7 kB / 1.043 GB, free: 57.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.5575, allocations: 155.5 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.5593, allocations: 269.2 kB / 1.044 GB, free: 57.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.5593, allocations: 22.64 kB / 1.044 GB, free: 57.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.5593, allocations: 4.5 kB / 1.044 GB, free: 57.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.5594, allocations: 31.12 kB / 1.044 GB, free: 57.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.5594, allocations: 0.9375 kB / 1.044 GB, free: 57.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001431/0.5595, allocations: 70.19 kB / 1.044 GB, free: 56.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.696e-05/0.5595, allocations: 51.91 kB / 1.044 GB, free: 56.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.724e-05/0.5596, allocations: 95.42 kB / 1.044 GB, free: 56.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.5596, allocations: 29.64 kB / 1.044 GB, free: 56.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.072e-05/0.5596, allocations: 80.86 kB / 1.044 GB, free: 56.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.5596, allocations: 19.31 kB / 1.044 GB, free: 56.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.5597, allocations: 2 kB / 1.044 GB, free: 56.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.5597, allocations: 312.5 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.5597, allocations: 9.094 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.569e-05/0.5597, allocations: 8.047 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.136e-05/0.5598, allocations: 23.92 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5598, allocations: 0.5312 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.865e-05/0.5599, allocations: 61.75 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.5599, allocations: 10.88 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5599, allocations: 3.938 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.5599, allocations: 4.125 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.589e-05/0.56, allocations: 7.312 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.56, allocations: 0 / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.853e-05/0.56, allocations: 0.75 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.56, allocations: 1.5 kB / 1.044 GB, free: 56.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 4.116e-05/0.5601, allocations: 112.6 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.5601, allocations: 5.391 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.5601, allocations: 11.44 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5601, allocations: 1.453 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.5601, allocations: 4 kB / 1.044 GB, free: 56.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.5601, allocations: 0.8125 kB / 1.044 GB, free: 56.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.368e-05/0.5602, allocations: 166 kB / 1.045 GB, free: 55.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5602, allocations: 0 / 1.045 GB, free: 55.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.5603, allocations: 7.156 kB / 1.045 GB, free: 55.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5603, allocations: 0 / 1.045 GB, free: 55.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.5603, allocations: 9.031 kB / 1.045 GB, free: 55.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.5603, allocations: 0 / 1.045 GB, free: 55.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5603, allocations: 0.7812 kB / 1.045 GB, free: 55.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.874e-05/0.5604, allocations: 78.72 kB / 1.045 GB, free: 55.87 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.5604, allocations: 82.77 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.5604, allocations: 3.938 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.287e-05/0.5605, allocations: 1.5 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.5605, allocations: 7.359 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.5605, allocations: 2.469 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.352e-05/0.5605, allocations: 75.28 kB / 1.045 GB, free: 55.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5606, allocations: 0 / 1.045 GB, free: 55.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001866/0.5607, allocations: 10.19 kB / 1.045 GB, free: 55.69 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 8.225e-05/0.5608, allocations: 106.4 kB / 1.045 GB, free: 55.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.286e-05/0.5609, allocations: 26.86 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5609, allocations: 0 / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.048e-05/0.5609, allocations: 17.73 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.5612, allocations: 7.672 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.5614, allocations: 151.5 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.681e-05/0.5615, allocations: 0.6752 MB / 1.046 GB, free: 54.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.942e-05/0.5615, allocations: 8.531 kB / 1.046 GB, free: 54.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.5616, allocations: 7.438 kB / 1.046 GB, free: 54.74 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/0.5616, allocations: 0 / 1.046 GB, free: 54.74 MB / 0.698 GB Notification: Performance of Templates: time 0.001978/0.5636, allocations: 495.8 kB / 1.046 GB, free: 54.69 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)