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 5.143/5.143, allocations: 0.5623 GB / 0.5776 GB, free: 3.391 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.002505/0.002506, allocations: 356 kB / 0.6447 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.141/4.141, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001745/0.001745, allocations: 176.3 kB / 1.226 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004887, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2305, allocations: 115.3 MB / 1.461 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.0008834/0.2314, allocations: 281.9 kB / 1.462 GB, free: 6.301 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.2334, allocations: 1.18 MB / 1.463 GB, free: 5.113 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.2334, allocations: 0 / 1.463 GB, free: 5.113 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.933e-05/0.2336, allocations: 15.8 kB / 1.463 GB, free: 5.098 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.958e-05/0.2336, allocations: 0 / 1.463 GB, free: 5.098 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007376/0.2344, allocations: 255.4 kB / 1.463 GB, free: 4.848 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.872e-05/0.2345, allocations: 63.86 kB / 1.463 GB, free: 4.785 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.2345, allocations: 4 kB / 1.463 GB, free: 4.781 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.433e-05/0.2346, allocations: 39.91 kB / 1.463 GB, free: 4.742 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.2347, allocations: 43.89 kB / 1.463 GB, free: 4.699 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.2347, allocations: 4 kB / 1.463 GB, free: 4.695 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004543/0.2352, allocations: 187.6 kB / 1.463 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.2352, allocations: 15.86 kB / 1.463 GB, free: 4.496 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.2352, allocations: 37.7 kB / 1.463 GB, free: 4.453 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.2356, allocations: 187.7 kB / 1.464 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2356, allocations: 0 / 1.464 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2356, allocations: 0 / 1.464 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2356, allocations: 0 / 1.464 GB, free: 4.27 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.0003669/0.236, allocations: 425.1 kB / 1.464 GB, free: 3.801 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.236, allocations: 8.031 kB / 1.464 GB, free: 3.793 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.2361, allocations: 8 kB / 1.464 GB, free: 3.785 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.2362, allocations: 178.9 kB / 1.464 GB, free: 3.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.2362, allocations: 8 kB / 1.464 GB, free: 3.562 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.2363, allocations: 8 kB / 1.464 GB, free: 3.555 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.2366, allocations: 125.5 kB / 1.464 GB, free: 3.426 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2366, allocations: 0 / 1.464 GB, free: 3.426 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.2366, allocations: 4 kB / 1.464 GB, free: 3.422 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2367, allocations: 0 / 1.464 GB, free: 3.422 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.2368, allocations: 63.94 kB / 1.464 GB, free: 3.359 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.237, allocations: 165.7 kB / 1.465 GB, free: 3.148 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.2372, allocations: 110.5 kB / 1.465 GB, free: 3.031 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.2374, allocations: 104.9 kB / 1.465 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-06/0.2374, allocations: 4 kB / 1.465 GB, free: 2.922 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.2374, allocations: 34.5 kB / 1.465 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.2374, allocations: 0 / 1.465 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006768/0.2381, allocations: 287.2 kB / 1.465 GB, free: 2.586 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.2382, allocations: 93.09 kB / 1.465 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.2383, allocations: 125.6 kB / 1.465 GB, free: 2.344 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.2383, allocations: 33.73 kB / 1.465 GB, free: 2.305 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.2384, allocations: 80.14 kB / 1.465 GB, free: 2.223 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.2384, allocations: 23.8 kB / 1.465 GB, free: 2.199 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.2384, allocations: 0 / 1.465 GB, free: 2.199 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.617e-05/0.2385, allocations: 318.8 kB / 1.466 GB, free: 1.879 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.2387, allocations: 63.94 kB / 1.466 GB, free: 1.816 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.2388, allocations: 59.89 kB / 1.466 GB, free: 1.758 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.239, allocations: 89.66 kB / 1.466 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.239, allocations: 0 / 1.466 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004677/0.2395, allocations: 239.2 kB / 1.466 GB, free: 1.418 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/0.2395, allocations: 41.69 kB / 1.466 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2396, allocations: 256 / 1.466 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2396, allocations: 0 / 1.466 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.855e-06/0.2396, allocations: 4 kB / 1.466 GB, free: 1.367 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2396, allocations: 0 / 1.466 GB, free: 1.367 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000459/0.2401, allocations: 27.91 kB / 1.466 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.269e-05/0.2401, allocations: 12 kB / 1.466 GB, free: 1.328 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.0002069/0.2404, allocations: 172 kB / 1.466 GB, free: 1.145 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.2404, allocations: 15.91 kB / 1.466 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.83e-05/0.2404, allocations: 8.375 kB / 1.466 GB, free: 1.125 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2405, allocations: 3.938 kB / 1.466 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2405, allocations: 3.984 kB / 1.466 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.2405, allocations: 89 kB / 1.466 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.2406, allocations: 8 kB / 1.466 GB, free: 1.004 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.241, allocations: 15.98 kB / 1.467 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.2411, allocations: 15.88 kB / 1.467 GB, free: 0.9727 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006744/0.2417, allocations: 401.9 kB / 1.467 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006921/0.2424, allocations: 428.3 kB / 1.467 GB, free: 116 kB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000312/0.2428, allocations: 143.9 kB / 1.467 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.103e-05/0.2429, allocations: 91.59 kB / 1.468 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of Backend: time 5.61e-07/0.2429, allocations: 0 / 1.468 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00392/0.2468, allocations: 0.6024 MB / 1.468 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0006249/0.2474, allocations: 0.6597 MB / 1.469 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.01076/0.2582, allocations: 3.848 MB / 1.473 GB, free: 10.82 MB / 0.6198 GB