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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.529/4.529, allocations: 433.2 MB / 440.7 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.027e-05, allocations: 2.875 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2361, allocations: 98.74 MB / 0.6289 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2393/0.4755, allocations: 126.6 MB / 0.7526 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/0.4759, allocations: 87.94 kB / 0.7527 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05084/0.5268, allocations: 10.72 MB / 0.7631 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5268, allocations: 0 / 0.7631 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.5269, allocations: 4 kB / 0.7631 GB, free: 15.43 MB / 0.6511 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.0005837/0.5275, allocations: 424.1 kB / 0.7635 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.5275, allocations: 12.03 kB / 0.7635 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.5276, allocations: 15.86 kB / 0.7636 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.5278, allocations: 178.9 kB / 0.7637 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.5278, allocations: 4 kB / 0.7637 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.5279, allocations: 4 kB / 0.7637 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001978/0.5281, allocations: 55.95 kB / 0.7638 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.5284, allocations: 121.6 kB / 0.7639 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.5284, allocations: 0 / 0.7639 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.5284, allocations: 4 kB / 0.7639 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.5284, allocations: 3.953 kB / 0.7639 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.5286, allocations: 138.2 kB / 0.764 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.5289, allocations: 106.5 kB / 0.7642 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.5291, allocations: 104.9 kB / 0.7643 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.5291, allocations: 0 / 0.7643 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.5291, allocations: 34.56 kB / 0.7643 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.5292, allocations: 0 / 0.7643 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0007561/0.5299, allocations: 189.5 kB / 0.7645 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.53, allocations: 89.09 kB / 0.7645 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.5302, allocations: 120.8 kB / 0.7647 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.5302, allocations: 29.7 kB / 0.7647 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.5303, allocations: 88.14 kB / 0.7648 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.5303, allocations: 11.81 kB / 0.7648 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.5304, allocations: 0 / 0.7648 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5305, allocations: 330.8 kB / 0.7651 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.5307, allocations: 59.89 kB / 0.7652 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.5308, allocations: 55.89 kB / 0.7652 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.5312, allocations: 67.94 kB / 0.7653 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5312, allocations: 0 / 0.7653 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006825/0.5319, allocations: 181.6 kB / 0.7655 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.254e-05/0.532, allocations: 45.69 kB / 0.7655 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.532, allocations: 0 / 0.7655 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.532, allocations: 0 / 0.7655 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-06/0.532, allocations: 0 / 0.7655 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5321, allocations: 4.062 kB / 0.7655 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.5325, allocations: 19.89 kB / 0.7655 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.555e-05/0.5325, allocations: 15.98 kB / 0.7655 GB, free: 12.75 MB / 0.6511 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 () * 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.0001876/0.5328, allocations: 154.6 kB / 0.7657 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007076/0.5335, allocations: 213.4 kB / 0.7659 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.5335, allocations: 11.91 kB / 0.7659 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.5336, allocations: 8.625 kB / 0.7659 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.5336, allocations: 0 / 0.7659 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5336, allocations: 4.031 kB / 0.7659 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.5336, allocations: 0 / 0.7659 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.5338, allocations: 162.1 kB / 0.7661 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5338, allocations: 0 / 0.7661 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-06/0.5338, allocations: 0 / 0.7661 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.5338, allocations: 0 / 0.7661 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.5339, allocations: 16.05 kB / 0.7661 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.5339, allocations: 4 kB / 0.7661 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.5339, allocations: 0 / 0.7661 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.5346, allocations: 244.8 kB / 0.7663 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.5347, allocations: 89 kB / 0.7664 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/0.5348, allocations: 11.94 kB / 0.7664 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.5352, allocations: 11.98 kB / 0.7664 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.5353, allocations: 12.36 kB / 0.7664 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-05/0.5353, allocations: 15.92 kB / 0.7665 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.042e-05/0.5354, allocations: 99.22 kB / 0.7665 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5354, allocations: 0 / 0.7665 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006607/0.5361, allocations: 99.97 kB / 0.7666 GB, free: 11.52 MB / 0.6511 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]) * 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.002425/0.5386, allocations: 1.098 MB / 0.7677 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006332/0.5392, allocations: 271.3 kB / 0.768 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5393, allocations: 0 / 0.768 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.5396, allocations: 203.3 kB / 0.7682 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.5398, allocations: 6.703 kB / 0.7682 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.5418, allocations: 0.532 MB / 0.7687 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.5422, allocations: 0.6924 MB / 0.7694 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.5423, allocations: 51.81 kB / 0.7694 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.5424, allocations: 23.36 kB / 0.7694 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of SimCode: time 1.022e-06/0.5424, allocations: 0 / 0.7694 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04734/0.5897, allocations: 4.321 MB / 0.7737 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004013/0.5902, allocations: 205.6 kB / 0.7739 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/3.311, allocations: 0 / 0.7739 GB, free: 4.004 MB / 0.6511 GB