Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.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.686/1.686, 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.001192/0.001192, allocations: 179.5 kB / 393.1 MB, free: 4.078 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.402/1.402, 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.0007465/0.0007469, allocations: 101.1 kB / 0.7935 GB, free: 40 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002972, allocations: 8.688 kB / 0.9224 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.513/0.5133, allocations: 121.3 MB / 1.041 GB, free: 58.11 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001605/0.515, allocations: 1.207 MB / 1.042 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.5162, allocations: 1.396 MB / 1.043 GB, free: 56.03 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/0.5163, allocations: 0 / 1.043 GB, free: 56.03 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.5163, allocations: 3.656 kB / 1.043 GB, free: 56.03 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.914e-05/0.5163, allocations: 10.75 kB / 1.043 GB, free: 56.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.5167, allocations: 109.8 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.406e-05/0.5168, allocations: 53.06 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.5169, allocations: 18.31 kB / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.517, allocations: 14.73 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.384e-05/0.517, allocations: 24.73 kB / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.517, allocations: 1.75 kB / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.5173, allocations: 174.3 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.5174, allocations: 5.156 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.5174, allocations: 42.23 kB / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.5177, allocations: 151.4 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5177, allocations: 0 / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5177, allocations: 2.219 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.5177, allocations: 0 / 1.044 GB, free: 55.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005205/0.5182, allocations: 399.9 kB / 1.044 GB, free: 55.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.5183, allocations: 10.12 kB / 1.044 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.5183, allocations: 5.344 kB / 1.044 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.5184, allocations: 178.8 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.5185, allocations: 384 / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.5185, allocations: 7.875 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.5187, allocations: 84.12 kB / 1.045 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.5187, allocations: 4.125 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.5188, allocations: 3.938 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.5188, allocations: 0 / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.5191, allocations: 93.12 kB / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.5194, allocations: 292.7 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.5196, allocations: 61 kB / 1.045 GB, free: 54.81 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.5198, allocations: 53.86 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.5199, allocations: 90.95 kB / 1.045 GB, free: 54.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.52, allocations: 39.39 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.52, allocations: 0 / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005187/0.5205, allocations: 164.5 kB / 1.045 GB, free: 54.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.5205, allocations: 51.41 kB / 1.045 GB, free: 54.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/0.5206, allocations: 118.4 kB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.824e-06/0.5206, allocations: 25.7 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.5206, allocations: 93.64 kB / 1.046 GB, free: 54.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.5207, allocations: 15.53 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.5207, allocations: 4 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.5207, allocations: 314.8 kB / 1.046 GB, free: 53.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.5209, allocations: 43.08 kB / 1.046 GB, free: 53.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.521, allocations: 48.94 kB / 1.046 GB, free: 53.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.5213, allocations: 87.56 kB / 1.046 GB, free: 53.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.5213, allocations: 0 / 1.046 GB, free: 53.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003111/0.5216, allocations: 123 kB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5216, allocations: 11.56 kB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5216, allocations: 0 / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.5217, allocations: 0 / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.5218, allocations: 23.86 kB / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.5218, allocations: 1.172 kB / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.5219, allocations: 21.45 kB / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.5219, allocations: 4 kB / 1.046 GB, free: 53.89 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 (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 5.871e-05/0.522, allocations: 116 kB / 1.046 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.522, allocations: 3.844 kB / 1.046 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.5224, allocations: 135.4 kB / 1.047 GB, free: 53.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5224, allocations: 0 / 1.047 GB, free: 53.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5224, allocations: 0 / 1.047 GB, free: 53.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.5224, allocations: 3.781 kB / 1.047 GB, free: 53.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.5225, allocations: 169.7 kB / 1.047 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5225, allocations: 0 / 1.047 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.353e-05/0.5226, allocations: 19.19 kB / 1.047 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.5226, allocations: 5.125 kB / 1.047 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.5226, allocations: 6.484 kB / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.5227, allocations: 5.281 kB / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5227, allocations: 3.938 kB / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.523, allocations: 221.7 kB / 1.047 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.523, allocations: 80.95 kB / 1.047 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.523, allocations: 1.031 kB / 1.047 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.5232, allocations: 21.62 kB / 1.047 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.5232, allocations: 12.39 kB / 1.047 GB, free: 53.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.5232, allocations: 0 / 1.047 GB, free: 53.24 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.349e-05/0.5233, allocations: 95 kB / 1.047 GB, free: 53.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5233, allocations: 0 / 1.047 GB, free: 53.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002572/0.5235, allocations: 33.88 kB / 1.047 GB, free: 53.15 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 (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.000225/0.5238, allocations: 136.5 kB / 1.047 GB, free: 53.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.5241, allocations: 92.73 kB / 1.047 GB, free: 53.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5241, allocations: 0 / 1.047 GB, free: 53.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.5243, allocations: 47.66 kB / 1.048 GB, free: 53.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.5245, allocations: 10.44 kB / 1.048 GB, free: 53.03 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.5248, allocations: 174.1 kB / 1.048 GB, free: 52.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.525, allocations: 0.6874 MB / 1.048 GB, free: 52.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.642e-05/0.525, allocations: 10.34 kB / 1.048 GB, free: 52.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.525, allocations: 13.97 kB / 1.048 GB, free: 52.16 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.525, allocations: 0 / 1.048 GB, free: 52.16 MB / 0.698 GB Notification: Performance of Templates: time 0.003521/0.5286, allocations: 1.203 MB / 1.05 GB, free: 52.06 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)