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.0155/0.0155, allocations: 107.6 kB / 15.06 MB, free: 5.605 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.001798/0.001798, allocations: 183.5 kB / 15.95 MB, free: 5.547 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 2.247/2.247, allocations: 194.6 MB / 211.3 MB, free: 11.11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.404/2.404, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004812, allocations: 12 kB / 0.587 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5445/0.545, allocations: 98.71 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0007039/0.5457, allocations: 275.5 kB / 0.6836 GB, free: 16.6 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.5477, allocations: 1.19 MB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.5478, allocations: 1.219 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 9.474e-05/0.5479, allocations: 1.625 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.5479, allocations: 1.875 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000849/0.5488, allocations: 253.2 kB / 0.685 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.723e-05/0.5489, allocations: 48.72 kB / 0.6851 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.537e-05/0.549, allocations: 7.453 kB / 0.6851 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.457e-05/0.549, allocations: 44.52 kB / 0.6851 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.862e-05/0.5491, allocations: 39.58 kB / 0.6851 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.5492, allocations: 3.719 kB / 0.6852 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004994/0.5497, allocations: 162.3 kB / 0.6853 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.5497, allocations: 7.844 kB / 0.6853 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.5498, allocations: 33.89 kB / 0.6853 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.5501, allocations: 197 kB / 0.6855 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.754e-06/0.5501, allocations: 4 kB / 0.6855 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.007e-06/0.5502, allocations: 0 / 0.6855 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.204e-06/0.5502, allocations: 0 / 0.6855 GB, free: 15.48 MB / 0.5261 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.0003418/0.5505, allocations: 416 kB / 0.6859 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5506, allocations: 9.281 kB / 0.6859 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.5506, allocations: 14.61 kB / 0.686 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.5508, allocations: 175.6 kB / 0.6861 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.5508, allocations: 7.953 kB / 0.6861 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.5508, allocations: 6.062 kB / 0.6861 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.5511, allocations: 124.8 kB / 0.6863 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.5512, allocations: 0 / 0.6863 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.5512, allocations: 6.656 kB / 0.6863 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.507e-06/0.5512, allocations: 5.406 kB / 0.6863 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.5514, allocations: 60.09 kB / 0.6863 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.5515, allocations: 165.5 kB / 0.6865 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.5517, allocations: 115.6 kB / 0.6866 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.201e-06/0.5517, allocations: 4 kB / 0.6866 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.5518, allocations: 40.83 kB / 0.6866 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 3.087e-06/0.5518, allocations: 3.984 kB / 0.6866 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0006992/0.5525, allocations: 369.4 kB / 0.687 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.5526, allocations: 87.91 kB / 0.6871 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.5527, allocations: 126.9 kB / 0.6872 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.5527, allocations: 27.92 kB / 0.6872 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.5528, allocations: 87.86 kB / 0.6873 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.5528, allocations: 21.33 kB / 0.6873 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.5528, allocations: 3.344 kB / 0.6873 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.5529, allocations: 325.9 kB / 0.6876 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.5531, allocations: 59.77 kB / 0.6877 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.5532, allocations: 64 kB / 0.6878 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.5534, allocations: 84.78 kB / 0.6878 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.444e-06/0.5534, allocations: 0.7031 kB / 0.6878 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004625/0.5538, allocations: 224.6 kB / 0.6881 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.205e-05/0.5539, allocations: 45.78 kB / 0.6881 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.71e-06/0.5539, allocations: 5.438 kB / 0.6881 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.554, allocations: 0 / 0.6881 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.378e-06/0.554, allocations: 0.6094 kB / 0.6881 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.484e-06/0.554, allocations: 1.125 kB / 0.6881 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.5543, allocations: 23.77 kB / 0.6881 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/0.5544, allocations: 17.11 kB / 0.6881 GB, free: 13.42 MB / 0.5261 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.0001602/0.5546, allocations: 163.6 kB / 0.6883 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.5546, allocations: 13.48 kB / 0.6883 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.5547, allocations: 10.8 kB / 0.6883 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.34e-06/0.5547, allocations: 0 / 0.6883 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.524e-06/0.5547, allocations: 7.938 kB / 0.6883 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.129e-06/0.5547, allocations: 2.844 kB / 0.6883 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.5548, allocations: 174.9 kB / 0.6885 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.526e-06/0.5548, allocations: 3.938 kB / 0.6885 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-06/0.5548, allocations: 0.5625 kB / 0.6885 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5549, allocations: 1.281 kB / 0.6885 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.5549, allocations: 11.02 kB / 0.6885 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.403e-06/0.5549, allocations: 0.7969 kB / 0.6885 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5549, allocations: 1 kB / 0.6885 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.5555, allocations: 295 kB / 0.6888 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.5555, allocations: 94.92 kB / 0.6889 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.5556, allocations: 7.328 kB / 0.6889 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.5559, allocations: 18.67 kB / 0.6889 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.5559, allocations: 7.422 kB / 0.6889 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.556, allocations: 18.34 kB / 0.6889 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.214e-05/0.556, allocations: 101.2 kB / 0.689 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.07e-07/0.5561, allocations: 3.938 kB / 0.689 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005495/0.5566, allocations: 84.17 kB / 0.6891 GB, free: 12.68 MB / 0.5261 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.001189/0.5578, allocations: 413.2 kB / 0.6895 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005341/0.5584, allocations: 285.1 kB / 0.6898 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.223e-06/0.5584, allocations: 4.062 kB / 0.6898 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.5587, allocations: 215.4 kB / 0.69 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.5588, allocations: 9.891 kB / 0.69 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005492/0.5594, allocations: 251.3 kB / 0.6902 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.5595, allocations: 0.6834 MB / 0.6909 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001066/0.5597, allocations: 61.92 kB / 0.691 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.542e-05/0.5597, allocations: 11.33 kB / 0.691 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of SimCode: time 1.564e-06/0.5597, allocations: 0 / 0.691 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of Templates: time 0.01055/0.5703, allocations: 3.836 MB / 0.6947 GB, free: 10.75 MB / 0.5261 GB