Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.894/4.894, allocations: 0.5623 GB / 0.5775 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002466/0.002466, allocations: 358.4 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.445/4.445, allocations: 410.7 MB / 1.113 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001911/0.00191, allocations: 177.5 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006958/0.000696, allocations: 12 kB / 1.349 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8665/0.8672, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2093/1.077, allocations: 140.8 MB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/1.077, allocations: 94.61 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.06248/1.139, allocations: 10.89 MB / 1.61 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.026e-06/1.14, allocations: 0 / 1.61 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.227e-06/1.14, allocations: 0.6562 kB / 1.61 GB, free: 132.5 MB / 0.8542 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.0005882/1.14, allocations: 437.8 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/1.14, allocations: 15.62 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.359e-05/1.14, allocations: 8.531 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/1.141, allocations: 183.8 kB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/1.141, allocations: 9.5 kB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/1.141, allocations: 6.25 kB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/1.141, allocations: 121.6 kB / 1.61 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.141, allocations: 0 / 1.61 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/1.141, allocations: 0 / 1.61 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/1.141, allocations: 0 / 1.61 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/1.141, allocations: 67.94 kB / 1.61 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/1.142, allocations: 167.5 kB / 1.611 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/1.142, allocations: 114.5 kB / 1.611 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/1.142, allocations: 106.3 kB / 1.611 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/1.142, allocations: 0 / 1.611 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/1.142, allocations: 30.56 kB / 1.611 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 2.796e-06/1.142, allocations: 1.062 kB / 1.611 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.001041/1.143, allocations: 287.8 kB / 1.611 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/1.144, allocations: 94.02 kB / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/1.144, allocations: 133.6 kB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/1.144, allocations: 26.7 kB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/1.144, allocations: 84.14 kB / 1.611 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-05/1.144, allocations: 20.77 kB / 1.611 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/1.144, allocations: 4 kB / 1.611 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.538e-05/1.144, allocations: 315.8 kB / 1.612 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/1.144, allocations: 63.94 kB / 1.612 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/1.145, allocations: 61.39 kB / 1.612 GB, free: 130 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/1.145, allocations: 89.66 kB / 1.612 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.145, allocations: 0 / 1.612 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007205/1.146, allocations: 232 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.089e-05/1.146, allocations: 41.69 kB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.146, allocations: 0.9688 kB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.146, allocations: 0 / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-06/1.146, allocations: 9.125 kB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/1.146, allocations: 0 / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/1.146, allocations: 15.98 kB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.608e-05/1.146, allocations: 16.5 kB / 1.612 GB, free: 129.6 MB / 0.8542 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.0002276/1.147, allocations: 164.9 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/1.147, allocations: 16.66 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/1.147, allocations: 9.922 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/1.147, allocations: 4 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/1.147, allocations: 0 / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/1.147, allocations: 0 / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/1.147, allocations: 177.5 kB / 1.613 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.147, allocations: 0.7812 kB / 1.613 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-06/1.147, allocations: 9.406 kB / 1.613 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/1.147, allocations: 1.219 kB / 1.613 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/1.147, allocations: 15.98 kB / 1.613 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.147, allocations: 0 / 1.613 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.147, allocations: 0.5312 kB / 1.613 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008395/1.148, allocations: 289.9 kB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/1.148, allocations: 96.94 kB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.908e-05/1.148, allocations: 4 kB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/1.149, allocations: 15.98 kB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/1.149, allocations: 11.98 kB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.869e-05/1.149, allocations: 12.56 kB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.009e-05/1.149, allocations: 95.81 kB / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.72e-07/1.149, allocations: 0 / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008309/1.15, allocations: 112.8 kB / 1.613 GB, free: 128.5 MB / 0.8542 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.001625/1.152, allocations: 415 kB / 1.614 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007846/1.152, allocations: 287.3 kB / 1.614 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.152, allocations: 0 / 1.614 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004276/1.153, allocations: 216.6 kB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/1.153, allocations: 11.95 kB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/1.156, allocations: 0.5197 MB / 1.615 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/1.156, allocations: 0.6854 MB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001435/1.156, allocations: 56.69 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/1.156, allocations: 7.438 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.503e-06/1.156, allocations: 0 / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.01474/1.171, allocations: 3.832 MB / 1.619 GB, free: 122.8 MB / 0.8542 GB