Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.302/2.302, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 185.3 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.621/2.621, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 106 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004615, allocations: 8.875 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2002, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2174/0.4176, allocations: 134.5 MB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/0.418, allocations: 95.92 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0486/0.4666, allocations: 10.9 MB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4666, allocations: 0 / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.4667, allocations: 0 / 1.041 GB, free: 15.8 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005616/0.4672, allocations: 440.8 kB / 1.041 GB, free: 15.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4673, allocations: 8.031 kB / 1.041 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.4674, allocations: 15.86 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.4675, allocations: 175 kB / 1.042 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.4676, allocations: 4 kB / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.4676, allocations: 8 kB / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.468, allocations: 117.6 kB / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.468, allocations: 3.938 kB / 1.042 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.468, allocations: 4 kB / 1.042 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.468, allocations: 0 / 1.042 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.4682, allocations: 71.94 kB / 1.042 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.4684, allocations: 161.7 kB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.4687, allocations: 110.5 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.229e-06/0.4687, allocations: 4.031 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.4687, allocations: 30.56 kB / 1.042 GB, free: 14.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.4688, allocations: 0 / 1.042 GB, free: 14.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0008599/0.4696, allocations: 364.2 kB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.4697, allocations: 89.09 kB / 1.042 GB, free: 14.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.4699, allocations: 128.8 kB / 1.043 GB, free: 13.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.4699, allocations: 29.73 kB / 1.043 GB, free: 13.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.47, allocations: 88.14 kB / 1.043 GB, free: 13.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.47, allocations: 11.81 kB / 1.043 GB, free: 13.74 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.4701, allocations: 7.938 kB / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4702, allocations: 322.8 kB / 1.043 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.4704, allocations: 55.95 kB / 1.043 GB, free: 13.35 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.4706, allocations: 63.94 kB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.4708, allocations: 89.66 kB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4708, allocations: 0 / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005332/0.4713, allocations: 219.2 kB / 1.043 GB, free: 12.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/0.4714, allocations: 41.69 kB / 1.044 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4714, allocations: 0 / 1.044 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4714, allocations: 0 / 1.044 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.4714, allocations: 0 / 1.044 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4715, allocations: 0 / 1.044 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.4719, allocations: 19.89 kB / 1.044 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/0.4719, allocations: 19.98 kB / 1.044 GB, free: 12.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.4722, allocations: 163.5 kB / 1.044 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.4722, allocations: 19.91 kB / 1.044 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.624e-05/0.4722, allocations: 4.375 kB / 1.044 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.4723, allocations: 0 / 1.044 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4723, allocations: 0 / 1.044 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4723, allocations: 4 kB / 1.044 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.4725, allocations: 173.5 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4725, allocations: 0 / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.4725, allocations: 0 / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.4725, allocations: 4 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/0.4726, allocations: 15.98 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4726, allocations: 4.25 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4726, allocations: 0 / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.4733, allocations: 282.5 kB / 1.044 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.4733, allocations: 89.03 kB / 1.044 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.4734, allocations: 8.375 kB / 1.044 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.4738, allocations: 11.98 kB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.4738, allocations: 11.98 kB / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.4739, allocations: 16.03 kB / 1.044 GB, free: 11.99 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.55e-05/0.474, allocations: 99.2 kB / 1.044 GB, free: 11.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/0.474, allocations: 0 / 1.044 GB, free: 11.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005815/0.4746, allocations: 111.8 kB / 1.045 GB, free: 11.78 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: 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.001161/0.4757, allocations: 411.2 kB / 1.045 GB, free: 11.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006576/0.4764, allocations: 287.5 kB / 1.045 GB, free: 11.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.4764, allocations: 4.062 kB / 1.045 GB, free: 11.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.4768, allocations: 215.3 kB / 1.045 GB, free: 10.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.477, allocations: 12.47 kB / 1.045 GB, free: 10.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.4787, allocations: 0.5181 MB / 1.046 GB, free: 10.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.479, allocations: 0.6848 MB / 1.047 GB, free: 9.676 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.4792, allocations: 55.8 kB / 1.047 GB, free: 9.621 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.4792, allocations: 11.44 kB / 1.047 GB, free: 9.609 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/0.4792, allocations: 0 / 1.047 GB, free: 9.609 MB / 0.698 GB Notification: Performance of Templates: time 0.01103/0.4902, allocations: 3.832 MB / 1.05 GB, free: 5.812 MB / 0.698 GB