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.18/2.18, allocations: 251.1 MB / 266.1 MB, free: 11.55 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.002387/0.002387, allocations: 178.7 kB / 325.6 MB, free: 2.805 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.48/2.48, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.003129/0.003129, allocations: 98.67 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007363/0.0007366, allocations: 12.16 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2375, allocations: 106.3 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.0008354/0.2384, allocations: 285.1 kB / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.2405, allocations: 1.193 MB / 0.9003 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.2406, allocations: 0 / 0.9003 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.2407, allocations: 7.984 kB / 0.9003 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.716e-05/0.2408, allocations: 3.984 kB / 0.9003 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008032/0.2416, allocations: 255.4 kB / 0.9006 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.2417, allocations: 47.86 kB / 0.9006 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.117e-05/0.2418, allocations: 4 kB / 0.9006 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.16e-05/0.2419, allocations: 51.88 kB / 0.9007 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.2419, allocations: 35.92 kB / 0.9007 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.242, allocations: 4 kB / 0.9007 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.2425, allocations: 167.7 kB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.2425, allocations: 7.984 kB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.2425, allocations: 33.64 kB / 0.9009 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.2429, allocations: 199.7 kB / 0.9011 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2429, allocations: 0 / 0.9011 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2429, allocations: 0 / 0.9011 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2429, allocations: 0 / 0.9011 GB, free: 63.15 MB / 0.6042 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.0003825/0.2433, allocations: 420.9 kB / 0.9015 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2434, allocations: 12.03 kB / 0.9015 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.2434, allocations: 15.86 kB / 0.9015 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.2436, allocations: 175 kB / 0.9017 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.2436, allocations: 4 kB / 0.9017 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.2436, allocations: 8 kB / 0.9017 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.2439, allocations: 121.5 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.244, allocations: 3.984 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.244, allocations: 4 kB / 0.9018 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.244, allocations: 0 / 0.9018 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.2442, allocations: 63.94 kB / 0.9019 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.2443, allocations: 169.9 kB / 0.9021 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.2445, allocations: 110.6 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-06/0.2446, allocations: 0 / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.2446, allocations: 38.58 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 3.076e-06/0.2446, allocations: 0 / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0007171/0.2453, allocations: 372.2 kB / 0.9026 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.2454, allocations: 97.12 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.2455, allocations: 121.7 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.2455, allocations: 29.7 kB / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.2456, allocations: 84.52 kB / 0.9029 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.2456, allocations: 23.73 kB / 0.9029 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/0.2457, allocations: 0 / 0.9029 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.2457, allocations: 318.8 kB / 0.9032 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.2459, allocations: 67.88 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.2461, allocations: 63.95 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.2462, allocations: 93.59 kB / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.2463, allocations: 0 / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004666/0.2467, allocations: 231.2 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/0.2468, allocations: 41.69 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2468, allocations: 0 / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.2468, allocations: 0 / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-06/0.2469, allocations: 0 / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2469, allocations: 0 / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.2473, allocations: 23.89 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.542e-05/0.2474, allocations: 20.05 kB / 0.9037 GB, free: 60.21 MB / 0.6042 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.0001561/0.2476, allocations: 167.5 kB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.2476, allocations: 15.91 kB / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.613e-05/0.2477, allocations: 4.375 kB / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2477, allocations: 0 / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2477, allocations: 0 / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2477, allocations: 0 / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.2478, allocations: 173.6 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2478, allocations: 0 / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.2478, allocations: 4 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.2479, allocations: 3.984 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.2479, allocations: 12 kB / 0.9041 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2479, allocations: 256 / 0.9041 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2479, allocations: 7.938 kB / 0.9041 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005441/0.2485, allocations: 290.5 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.2485, allocations: 89.03 kB / 0.9044 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.2486, allocations: 7.984 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.249, allocations: 24.02 kB / 0.9045 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.249, allocations: 11.98 kB / 0.9045 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.2491, allocations: 15.98 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.501e-05/0.2492, allocations: 91.27 kB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2492, allocations: 0 / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004788/0.2497, allocations: 96.11 kB / 0.9047 GB, free: 59.11 MB / 0.6042 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.001007/0.2507, allocations: 395.9 kB / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005185/0.2512, allocations: 295.2 kB / 0.9053 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2512, allocations: 0 / 0.9053 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.2515, allocations: 211.3 kB / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.2517, allocations: 11.89 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.2522, allocations: 257.2 kB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.2524, allocations: 0.6848 MB / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.493e-05/0.2525, allocations: 51.86 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.2525, allocations: 15.44 kB / 0.9065 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of SimCode: time 8.32e-07/0.2525, allocations: 0 / 0.9065 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.009315/0.2619, allocations: 3.84 MB / 0.9103 GB, free: 53.41 MB / 0.6042 GB