Running: ./testmodel.py --libraries=/var/lib/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 (/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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.421/2.421, 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.001585/0.001584, allocations: 179 kB / 325.6 MB, free: 2.836 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.54/2.54, allocations: 205.4 MB / 0.5766 GB, free: 20.82 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.001161/0.001161, allocations: 88.61 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004895, allocations: 9.094 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2273, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.000833/0.2282, allocations: 269.2 kB / 0.8992 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.2303, allocations: 1.196 MB / 0.9003 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.2304, allocations: 7.938 kB / 0.9003 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.2305, allocations: 3.984 kB / 0.9003 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.644e-05/0.2305, allocations: 7.984 kB / 0.9003 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007618/0.2313, allocations: 255.4 kB / 0.9006 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.91e-05/0.2314, allocations: 39.94 kB / 0.9006 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.309e-05/0.2315, allocations: 8 kB / 0.9006 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.609e-05/0.2316, allocations: 51.88 kB / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.2316, allocations: 31.92 kB / 0.9007 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.2317, allocations: 7.938 kB / 0.9007 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.2321, allocations: 167.7 kB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.2322, allocations: 7.984 kB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.2322, allocations: 33.64 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.2325, allocations: 199.7 kB / 0.9011 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2326, allocations: 4 kB / 0.9011 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2326, allocations: 0 / 0.9011 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2326, allocations: 0 / 0.9011 GB, free: 63.18 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.0003698/0.233, allocations: 424.9 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.233, allocations: 8.031 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.2331, allocations: 15.86 kB / 0.9015 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.2332, allocations: 171.1 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2333, allocations: 4 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.2333, allocations: 8 kB / 0.9017 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.2336, allocations: 121.6 kB / 0.9018 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2336, allocations: 3.938 kB / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.2337, allocations: 8 kB / 0.9019 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.2337, allocations: 0 / 0.9019 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.2338, allocations: 55.95 kB / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.234, allocations: 165.9 kB / 0.9021 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.2342, allocations: 114.6 kB / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-06/0.2342, allocations: 0 / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.2343, allocations: 34.59 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.2343, allocations: 4 kB / 0.9022 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0007289/0.235, allocations: 376.2 kB / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.2351, allocations: 93.09 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2352, allocations: 125.6 kB / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.2352, allocations: 29.7 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.2353, allocations: 88.12 kB / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.2353, allocations: 19.75 kB / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/0.2354, allocations: 0 / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.608e-05/0.2354, allocations: 318.8 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.2356, allocations: 67.94 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.2358, allocations: 59.94 kB / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.2359, allocations: 85.67 kB / 0.9034 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2359, allocations: 7.984 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004665/0.2364, allocations: 227.2 kB / 0.9036 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.2365, allocations: 41.69 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2365, allocations: 0 / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2365, allocations: 0 / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.406e-06/0.2365, allocations: 3.984 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2365, allocations: 4 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004767/0.237, allocations: 31.88 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/0.2371, allocations: 12 kB / 0.9037 GB, free: 60.24 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.0001753/0.2373, allocations: 163.5 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.2373, allocations: 15.91 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.2374, allocations: 12.36 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2374, allocations: 0 / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2374, allocations: 0 / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2374, allocations: 0 / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.2376, allocations: 177.6 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2376, allocations: 0 / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-06/0.2376, allocations: 0 / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2376, allocations: 0 / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.2376, allocations: 15.98 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2376, allocations: 0 / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2377, allocations: 0 / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.2382, allocations: 294.7 kB / 0.9044 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.2383, allocations: 93.06 kB / 0.9045 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.2383, allocations: 8 kB / 0.9045 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.2387, allocations: 23.97 kB / 0.9045 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.2388, allocations: 8 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.2388, allocations: 15.98 kB / 0.9045 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.2389, allocations: 95.58 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2389, allocations: 0 / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004901/0.2394, allocations: 99.81 kB / 0.9047 GB, free: 59.13 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.001038/0.2404, allocations: 385.4 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005277/0.241, allocations: 295.2 kB / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.241, allocations: 0 / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.2413, allocations: 211.3 kB / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.2415, allocations: 11.89 kB / 0.9056 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005962/0.2421, allocations: 266.8 kB / 0.9058 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.2423, allocations: 0.6848 MB / 0.9065 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.82e-05/0.2424, allocations: 55.86 kB / 0.9065 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.2424, allocations: 7.438 kB / 0.9066 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of SimCode: time 1.863e-06/0.2424, allocations: 0 / 0.9066 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.009456/0.2519, allocations: 3.878 MB / 0.9103 GB, free: 53.4 MB / 0.6042 GB