Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.621/1.621, allocations: 306.1 MB / 321.4 MB, free: 10.7 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.0009192/0.0009192, allocations: 183.5 kB / 393.1 MB, free: 4.035 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.347/1.347, allocations: 225.7 MB / 0.6743 GB, free: 12.58 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.0008067/0.0008065, allocations: 97.45 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003373, allocations: 8.75 kB / 0.9224 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5396/0.5399, allocations: 121.3 MB / 1.041 GB, free: 58.51 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.0008298/0.5408, allocations: 288.7 kB / 1.041 GB, free: 58.39 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.5425, allocations: 1.63 MB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.975e-05/0.5425, allocations: 0 / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.871e-05/0.5426, allocations: 10.19 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.5427, allocations: 3.938 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005499/0.5432, allocations: 244.9 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.5433, allocations: 78.88 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.5434, allocations: 3.25 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.63e-05/0.5435, allocations: 49.3 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.774e-05/0.5435, allocations: 38.61 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.5435, allocations: 0 / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.5439, allocations: 173.4 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.5439, allocations: 9.906 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.455e-05/0.544, allocations: 59.33 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.5443, allocations: 253 kB / 1.044 GB, free: 56.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5444, allocations: 1.094 kB / 1.044 GB, free: 56.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5444, allocations: 0 / 1.044 GB, free: 56.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.5444, allocations: 0 / 1.044 GB, free: 56.71 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002927/0.5447, allocations: 424.8 kB / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.5447, allocations: 13.75 kB / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.5448, allocations: 84.5 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.5449, allocations: 249.6 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.5449, allocations: 158.9 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.545, allocations: 164.7 kB / 1.045 GB, free: 55.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.764e-05/0.545, allocations: 112.5 kB / 1.045 GB, free: 55.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.5451, allocations: 83.22 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.5451, allocations: 151.3 kB / 1.045 GB, free: 55.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.5451, allocations: 151.4 kB / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.5451, allocations: 150.6 kB / 1.045 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.5453, allocations: 473.3 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.3e-05/0.5454, allocations: 166.4 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.539e-05/0.5454, allocations: 84.8 kB / 1.046 GB, free: 54.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.5454, allocations: 76.22 kB / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.5455, allocations: 118.8 kB / 1.046 GB, free: 54.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.5455, allocations: 0 / 1.046 GB, free: 54.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.259e-05/0.5456, allocations: 35.98 kB / 1.046 GB, free: 54.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.5456, allocations: 128.6 kB / 1.046 GB, free: 53.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.5457, allocations: 146.1 kB / 1.046 GB, free: 53.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.5457, allocations: 28.11 kB / 1.046 GB, free: 53.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.5458, allocations: 92.28 kB / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.5458, allocations: 4.672 kB / 1.047 GB, free: 53.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.5458, allocations: 5.125 kB / 1.047 GB, free: 53.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.5459, allocations: 311.9 kB / 1.047 GB, free: 53.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.546, allocations: 67.42 kB / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-05/0.5461, allocations: 60.27 kB / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.5462, allocations: 96.22 kB / 1.047 GB, free: 53.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5462, allocations: 0 / 1.047 GB, free: 53.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003375/0.5465, allocations: 235.2 kB / 1.047 GB, free: 53.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.5466, allocations: 46.59 kB / 1.047 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5466, allocations: 5.281 kB / 1.047 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.5466, allocations: 0 / 1.047 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/0.5466, allocations: 0 / 1.047 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.5466, allocations: 7.75 kB / 1.047 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.5469, allocations: 28.22 kB / 1.047 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.547, allocations: 13.14 kB / 1.047 GB, free: 53.1 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: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.265e-05/0.5471, allocations: 201.9 kB / 1.048 GB, free: 52.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.5471, allocations: 114.2 kB / 1.048 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.5471, allocations: 112.9 kB / 1.048 GB, free: 52.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.5472, allocations: 186.4 kB / 1.048 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.713e-05/0.5472, allocations: 176.3 kB / 1.048 GB, free: 52.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-05/0.5472, allocations: 182.7 kB / 1.048 GB, free: 52.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.5474, allocations: 411.2 kB / 1.049 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.5474, allocations: 108.9 kB / 1.049 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.5474, allocations: 111.1 kB / 1.049 GB, free: 51.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.278e-05/0.5474, allocations: 180.3 kB / 1.049 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.5475, allocations: 184.1 kB / 1.049 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.38e-05/0.5475, allocations: 181.6 kB / 1.049 GB, free: 50.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.343e-05/0.5475, allocations: 176.3 kB / 1.05 GB, free: 50.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.953e-05/0.5476, allocations: 315.6 kB / 1.05 GB, free: 50.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.5477, allocations: 200 kB / 1.05 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.5477, allocations: 178 kB / 1.05 GB, free: 50.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.606e-05/0.5478, allocations: 101.8 kB / 1.05 GB, free: 49.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.5478, allocations: 188.1 kB / 1.051 GB, free: 49.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.5478, allocations: 101 kB / 1.051 GB, free: 49.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.605e-05/0.5479, allocations: 106.5 kB / 1.051 GB, free: 49.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5479, allocations: 1.625 kB / 1.051 GB, free: 49.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003473/0.5482, allocations: 71.95 kB / 1.051 GB, free: 49.51 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 (0): * Single equations (assignments): 0 * 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.0024/0.5506, allocations: 431.7 kB / 1.051 GB, free: 49.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002989/0.551, allocations: 214.6 kB / 1.051 GB, free: 49.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.551, allocations: 0 / 1.051 GB, free: 49.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.267e-06/0.551, allocations: 8 kB / 1.051 GB, free: 49.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.5513, allocations: 0.5242 MB / 1.052 GB, free: 48.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.5516, allocations: 240.6 kB / 1.052 GB, free: 48.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.5517, allocations: 0.6823 MB / 1.053 GB, free: 47.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.508e-05/0.5518, allocations: 54.73 kB / 1.053 GB, free: 47.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.24e-05/0.5518, allocations: 9.25 kB / 1.053 GB, free: 47.68 MB / 0.698 GB Notification: Performance of SimCode: time 2.8e-07/0.5518, allocations: 0 / 1.053 GB, free: 47.68 MB / 0.698 GB Notification: Performance of Templates: time 0.005484/0.5573, allocations: 2.555 MB / 1.055 GB, free: 47.43 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1)