Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01163/0.01163, allocations: 223 kB / 15.17 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001116/0.001115, allocations: 181 kB / 16.06 MB, free: 5.832 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.806/3.806, allocations: 389.1 MB / 405.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.034/4.034, allocations: 472.3 MB / 0.9018 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005185/0.0005188, allocations: 16 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1369, allocations: 98.7 MB / 1.104 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0006838/0.1377, allocations: 270.1 kB / 1.104 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.1394, allocations: 1.18 MB / 1.105 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.1394, allocations: 6.781 kB / 1.105 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.067e-05/0.1395, allocations: 7.922 kB / 1.105 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.026e-05/0.1396, allocations: 4 kB / 1.105 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006828/0.1403, allocations: 261.9 kB / 1.106 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.126e-05/0.1404, allocations: 55.86 kB / 1.106 GB, free: 40.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.622e-05/0.1405, allocations: 7.219 kB / 1.106 GB, free: 40.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.744e-05/0.1405, allocations: 51.88 kB / 1.106 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.1406, allocations: 35.86 kB / 1.106 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.1406, allocations: 4 kB / 1.106 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.1411, allocations: 199.5 kB / 1.106 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.196e-05/0.1412, allocations: 7.938 kB / 1.106 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.1412, allocations: 29.7 kB / 1.106 GB, free: 40 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.1415, allocations: 199.7 kB / 1.106 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1415, allocations: 7.094 kB / 1.106 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.323e-06/0.1415, allocations: 0 / 1.106 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.422e-06/0.1415, allocations: 0 / 1.106 GB, free: 39.8 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003282/0.1419, allocations: 409 kB / 1.107 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1419, allocations: 12.03 kB / 1.107 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.142, allocations: 11.94 kB / 1.107 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.1421, allocations: 179.2 kB / 1.107 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.1421, allocations: 7.953 kB / 1.107 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.1422, allocations: 4 kB / 1.107 GB, free: 39.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.1424, allocations: 125.5 kB / 1.107 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1424, allocations: 3.984 kB / 1.107 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.1425, allocations: 4.844 kB / 1.107 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-06/0.1425, allocations: 0 / 1.107 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.1426, allocations: 59.95 kB / 1.107 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.1428, allocations: 161 kB / 1.107 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1429, allocations: 118.6 kB / 1.107 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.1431, allocations: 96.91 kB / 1.107 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.463e-06/0.1431, allocations: 3.938 kB / 1.107 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.1431, allocations: 34.56 kB / 1.107 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 2.665e-06/0.1431, allocations: 1.453 kB / 1.107 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0005462/0.1437, allocations: 298.3 kB / 1.108 GB, free: 38.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.1438, allocations: 89.09 kB / 1.108 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.562e-05/0.1438, allocations: 117.8 kB / 1.108 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1439, allocations: 25.7 kB / 1.108 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.1439, allocations: 92.12 kB / 1.108 GB, free: 37.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.144, allocations: 15.75 kB / 1.108 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.144, allocations: 4.375 kB / 1.108 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.1441, allocations: 322.3 kB / 1.108 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1442, allocations: 63.89 kB / 1.108 GB, free: 37.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1443, allocations: 63.94 kB / 1.108 GB, free: 37.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.1445, allocations: 89.59 kB / 1.109 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1445, allocations: 0 / 1.109 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000381/0.1449, allocations: 227.2 kB / 1.109 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.1449, allocations: 45.69 kB / 1.109 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.585e-06/0.1449, allocations: 0 / 1.109 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.145, allocations: 2.531 kB / 1.109 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.662e-06/0.145, allocations: 3.953 kB / 1.109 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.337e-06/0.145, allocations: 0 / 1.109 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.1453, allocations: 27.88 kB / 1.109 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.1454, allocations: 19.92 kB / 1.109 GB, free: 36.88 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.1455, allocations: 163 kB / 1.109 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.1456, allocations: 11.91 kB / 1.109 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.1456, allocations: 8.359 kB / 1.109 GB, free: 36.69 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-06/0.1456, allocations: 0 / 1.109 GB, free: 36.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.528e-06/0.1456, allocations: 4.203 kB / 1.109 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.836e-06/0.1457, allocations: 4 kB / 1.109 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.1458, allocations: 181.5 kB / 1.109 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-06/0.1458, allocations: 0 / 1.109 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.721e-06/0.1458, allocations: 0 / 1.109 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.276e-06/0.1458, allocations: 9.422 kB / 1.109 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.1458, allocations: 11.98 kB / 1.109 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.201e-06/0.1459, allocations: 0 / 1.109 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.917e-06/0.1459, allocations: 0 / 1.109 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.1463, allocations: 290.5 kB / 1.11 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.1464, allocations: 85.09 kB / 1.11 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.1464, allocations: 11 kB / 1.11 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.1467, allocations: 19.97 kB / 1.11 GB, free: 36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.1467, allocations: 4 kB / 1.11 GB, free: 36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.1468, allocations: 19.98 kB / 1.11 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.007e-05/0.1468, allocations: 91.27 kB / 1.11 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.9e-07/0.1468, allocations: 4 kB / 1.11 GB, free: 35.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004573/0.1473, allocations: 95.83 kB / 1.11 GB, free: 35.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001046/0.1484, allocations: 423.3 kB / 1.11 GB, free: 35.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004851/0.1489, allocations: 287.2 kB / 1.111 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.016e-06/0.1489, allocations: 0 / 1.111 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.1494, allocations: 214.4 kB / 1.111 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.1496, allocations: 15.98 kB / 1.111 GB, free: 34.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007422/0.1504, allocations: 294.4 kB / 1.111 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.1505, allocations: 0.6838 MB / 1.112 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.1506, allocations: 59.73 kB / 1.112 GB, free: 33.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.1507, allocations: 11.44 kB / 1.112 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of SimCode: time 1.639e-06/0.1507, allocations: 0 / 1.112 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.008462/0.1591, allocations: 3.827 MB / 1.116 GB, free: 30.32 MB / 0.6042 GB