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.477/2.477, allocations: 253.2 MB / 260.6 MB, free: 7.516 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001611, allocations: 176.9 kB / 319.9 MB, free: 3.082 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.099/2.099, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.001055/0.001055, allocations: 100.9 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.055e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1887, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9155/1.104, allocations: 134.6 MB / 1.02 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003464/1.105, allocations: 95.36 kB / 1.02 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05053/1.155, allocations: 10.72 MB / 1.031 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.825e-06/1.155, allocations: 3.938 kB / 1.031 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.225e-05/1.155, allocations: 7.938 kB / 1.031 GB, free: 9.871 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.0005954/1.156, allocations: 427.7 kB / 1.031 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/1.156, allocations: 8.031 kB / 1.031 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.926e-05/1.156, allocations: 15.86 kB / 1.031 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/1.156, allocations: 174.2 kB / 1.031 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/1.156, allocations: 0 / 1.031 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.023e-05/1.156, allocations: 11.94 kB / 1.031 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001944/1.157, allocations: 57.78 kB / 1.031 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/1.157, allocations: 116.6 kB / 1.032 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/1.157, allocations: 0 / 1.032 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/1.157, allocations: 4 kB / 1.032 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.157, allocations: 0 / 1.032 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/1.157, allocations: 142.1 kB / 1.032 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/1.157, allocations: 110.5 kB / 1.032 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/1.158, allocations: 96.72 kB / 1.032 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-06/1.158, allocations: 4 kB / 1.032 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/1.158, allocations: 37.94 kB / 1.032 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/1.158, allocations: 0 / 1.032 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0007518/1.158, allocations: 183.2 kB / 1.032 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/1.158, allocations: 89.09 kB / 1.032 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/1.159, allocations: 116.5 kB / 1.032 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/1.159, allocations: 29.7 kB / 1.032 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/1.159, allocations: 87.19 kB / 1.032 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/1.159, allocations: 23.78 kB / 1.032 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/1.159, allocations: 0 / 1.032 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.159, allocations: 322.8 kB / 1.033 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/1.159, allocations: 54.89 kB / 1.033 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/1.159, allocations: 58.14 kB / 1.033 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/1.16, allocations: 63.12 kB / 1.033 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.16, allocations: 0 / 1.033 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006536/1.16, allocations: 188.1 kB / 1.033 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-05/1.16, allocations: 45.44 kB / 1.033 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.16, allocations: 4.438 kB / 1.033 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.16, allocations: 0 / 1.033 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/1.16, allocations: 0 / 1.033 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.16, allocations: 0 / 1.033 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/1.161, allocations: 23.89 kB / 1.033 GB, free: 7.395 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.962e-05/1.161, allocations: 23.92 kB / 1.033 GB, free: 7.371 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.0001929/1.161, allocations: 150.5 kB / 1.033 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/1.161, allocations: 15.91 kB / 1.033 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/1.161, allocations: 12.61 kB / 1.033 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.161, allocations: 3.984 kB / 1.033 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.161, allocations: 0 / 1.033 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/1.161, allocations: 0 / 1.033 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/1.162, allocations: 149.9 kB / 1.033 GB, free: 7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.162, allocations: 3.953 kB / 1.033 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-06/1.162, allocations: 3.984 kB / 1.033 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.162, allocations: 0 / 1.033 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/1.162, allocations: 11.75 kB / 1.033 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.162, allocations: 0 / 1.033 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.162, allocations: 3.984 kB / 1.033 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007614/1.162, allocations: 245.7 kB / 1.034 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/1.163, allocations: 92.7 kB / 1.034 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/1.163, allocations: 8 kB / 1.034 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/1.163, allocations: 11.98 kB / 1.034 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/1.163, allocations: 11.75 kB / 1.034 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.883e-05/1.163, allocations: 11.98 kB / 1.034 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.896e-05/1.163, allocations: 95.14 kB / 1.034 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.163, allocations: 4.031 kB / 1.034 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000605/1.164, allocations: 106.9 kB / 1.034 GB, free: 6.41 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.001187/1.165, allocations: 394.8 kB / 1.034 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000618/1.166, allocations: 275.9 kB / 1.035 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.166, allocations: 0 / 1.035 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/1.166, allocations: 198.3 kB / 1.035 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/1.166, allocations: 7.938 kB / 1.035 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/1.168, allocations: 472.9 kB / 1.035 GB, free: 5.285 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/1.168, allocations: 0.6846 MB / 1.036 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001289/1.168, allocations: 51.86 kB / 1.036 GB, free: 4.523 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/1.168, allocations: 7.438 kB / 1.036 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of SimCode: time 1.512e-06/1.168, allocations: 0 / 1.036 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of Templates: time 0.01172/1.18, allocations: 3.805 MB / 1.04 GB, free: 0.7539 MB / 0.6511 GB