Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.603/2.603, allocations: 248.7 MB / 256.2 MB, free: 7.117 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001472, allocations: 178.1 kB / 315.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 86.53 kB / 0.6704 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.374e-05/2.402e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2272, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9385/1.166, allocations: 135.1 MB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003617/1.166, allocations: 92.62 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05246/1.219, allocations: 11.41 MB / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.703e-06/1.219, allocations: 0 / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.278e-06/1.219, allocations: 0 / 1.027 GB, free: 10.62 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.0006325/1.219, allocations: 427.8 kB / 1.028 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/1.219, allocations: 8.031 kB / 1.028 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/1.22, allocations: 19.8 kB / 1.028 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/1.22, allocations: 166.1 kB / 1.028 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/1.22, allocations: 7.938 kB / 1.028 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/1.22, allocations: 12 kB / 1.028 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001983/1.22, allocations: 62.56 kB / 1.028 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/1.22, allocations: 116.2 kB / 1.028 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.22, allocations: 0 / 1.028 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/1.22, allocations: 4 kB / 1.028 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/1.22, allocations: 0 / 1.028 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/1.221, allocations: 137.4 kB / 1.028 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/1.221, allocations: 117.2 kB / 1.028 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/1.221, allocations: 99.78 kB / 1.028 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/1.221, allocations: 0 / 1.028 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/1.221, allocations: 34.56 kB / 1.028 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/1.221, allocations: 0 / 1.028 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0007818/1.222, allocations: 183.6 kB / 1.029 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/1.222, allocations: 92.78 kB / 1.029 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/1.222, allocations: 116.5 kB / 1.029 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/1.222, allocations: 29.7 kB / 1.029 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/1.222, allocations: 87.36 kB / 1.029 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.76e-05/1.222, allocations: 19.5 kB / 1.029 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/1.222, allocations: 4 kB / 1.029 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.223, allocations: 325.8 kB / 1.029 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/1.223, allocations: 56.08 kB / 1.029 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/1.223, allocations: 57.02 kB / 1.029 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/1.223, allocations: 62.75 kB / 1.029 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/1.223, allocations: 0 / 1.029 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006708/1.224, allocations: 188.4 kB / 1.03 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.85e-05/1.224, allocations: 45.75 kB / 1.03 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.224, allocations: 4 kB / 1.03 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/1.224, allocations: 0 / 1.03 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.472e-06/1.224, allocations: 0 / 1.03 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/1.224, allocations: 0 / 1.03 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/1.225, allocations: 19.89 kB / 1.03 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.705e-05/1.225, allocations: 15.67 kB / 1.03 GB, free: 8.117 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.0001981/1.225, allocations: 150.6 kB / 1.03 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000724/1.226, allocations: 223 kB / 1.03 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/1.226, allocations: 11.91 kB / 1.03 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/1.226, allocations: 4.625 kB / 1.03 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/1.226, allocations: 0 / 1.03 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/1.226, allocations: 4.062 kB / 1.03 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.226, allocations: 4 kB / 1.03 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/1.226, allocations: 153 kB / 1.03 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.226, allocations: 0 / 1.03 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/1.226, allocations: 0 / 1.03 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/1.226, allocations: 0 / 1.03 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/1.226, allocations: 11.98 kB / 1.03 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.226, allocations: 4.031 kB / 1.03 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/1.226, allocations: 4 kB / 1.03 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/1.227, allocations: 236.2 kB / 1.03 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/1.227, allocations: 92.38 kB / 1.031 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/1.227, allocations: 7.984 kB / 1.031 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/1.227, allocations: 12 kB / 1.031 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/1.227, allocations: 15.8 kB / 1.031 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/1.228, allocations: 24.33 kB / 1.031 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.481e-05/1.228, allocations: 97.77 kB / 1.031 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.228, allocations: 0 / 1.031 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006155/1.228, allocations: 103.6 kB / 1.031 GB, free: 6.961 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.002195/1.23, allocations: 1.066 MB / 1.032 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006016/1.231, allocations: 272.8 kB / 1.032 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.231, allocations: 0 / 1.032 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003048/1.231, allocations: 207.4 kB / 1.032 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/1.232, allocations: 13.89 kB / 1.032 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/1.234, allocations: 0.556 MB / 1.033 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/1.234, allocations: 0.6884 MB / 1.034 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001331/1.234, allocations: 55.92 kB / 1.034 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/1.234, allocations: 11.44 kB / 1.034 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/1.234, allocations: 0 / 1.034 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05321/1.288, allocations: 4.402 MB / 1.038 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003694/1.288, allocations: 215.7 kB / 1.038 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/3.938, allocations: 0 / 1.038 GB, free: 15.59 MB / 0.6667 GB