Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.572/1.572, allocations: 288.4 MB / 304.3 MB, free: 8.059 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009521/0.0009525, allocations: 187 kB / 372.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.4 MB / 0.6316 GB, free: 9.859 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000863/0.0008629, allocations: 96.12 kB / 0.745 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004239, allocations: 15.53 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2266, allocations: 115.3 MB / 0.9808 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0007549/0.2274, allocations: 274.2 kB / 0.981 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2289, allocations: 1.196 MB / 0.9822 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.229, allocations: 0 / 0.9822 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.2291, allocations: 8 kB / 0.9822 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.2292, allocations: 3.938 kB / 0.9822 GB, free: 25.82 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function ‘Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.2298, allocations: 259.5 kB / 0.9824 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.402e-05/0.2299, allocations: 59.86 kB / 0.9825 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.2299, allocations: 8 kB / 0.9825 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.23, allocations: 43.89 kB / 0.9826 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.23, allocations: 39.91 kB / 0.9826 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.2301, allocations: 7.938 kB / 0.9826 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.2304, allocations: 191.6 kB / 0.9828 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.2304, allocations: 11.98 kB / 0.9828 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.2305, allocations: 53.56 kB / 0.9828 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.2307, allocations: 191.7 kB / 0.983 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.2307, allocations: 0 / 0.983 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2308, allocations: 3.938 kB / 0.983 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.2308, allocations: 4 kB / 0.983 GB, free: 24.96 MB / 0.6198 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.0003646/0.2311, allocations: 425.3 kB / 0.9834 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2312, allocations: 8.031 kB / 0.9834 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.2312, allocations: 8.938 kB / 0.9835 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2314, allocations: 184.3 kB / 0.9836 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.2314, allocations: 4.312 kB / 0.9836 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.2314, allocations: 8.375 kB / 0.9836 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.2316, allocations: 129.6 kB / 0.9838 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2316, allocations: 4 kB / 0.9838 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.2317, allocations: 4 kB / 0.9838 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2317, allocations: 0 / 0.9838 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.932e-05/0.2318, allocations: 59.95 kB / 0.9838 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.2319, allocations: 157.7 kB / 0.984 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.232, allocations: 114.6 kB / 0.9841 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.2321, allocations: 100.9 kB / 0.9842 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.2321, allocations: 0 / 0.9842 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.2322, allocations: 50.36 kB / 0.9842 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2322, allocations: 0 / 0.9842 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004161/0.2326, allocations: 291.1 kB / 0.9845 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.2326, allocations: 89.09 kB / 0.9846 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.2327, allocations: 125.8 kB / 0.9847 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.2328, allocations: 25.7 kB / 0.9847 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.2328, allocations: 88.14 kB / 0.9848 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.2328, allocations: 11.84 kB / 0.9848 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.2328, allocations: 8 kB / 0.9848 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.2329, allocations: 318.8 kB / 0.9852 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.233, allocations: 55.95 kB / 0.9852 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.858e-05/0.2331, allocations: 67.88 kB / 0.9853 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.2332, allocations: 184.2 kB / 0.9854 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2332, allocations: 0 / 0.9854 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002389/0.2335, allocations: 231.4 kB / 0.9857 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.2335, allocations: 45.62 kB / 0.9857 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2335, allocations: 4.047 kB / 0.9857 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2335, allocations: 4 kB / 0.9857 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.2336, allocations: 0 / 0.9857 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2336, allocations: 4 kB / 0.9857 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.2338, allocations: 23.91 kB / 0.9857 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.2339, allocations: 19.98 kB / 0.9858 GB, free: 21.9 MB / 0.6198 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.0001041/0.234, allocations: 159.5 kB / 0.9859 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.234, allocations: 19.78 kB / 0.9859 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.174e-05/0.234, allocations: 8.359 kB / 0.9859 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.234, allocations: 7.938 kB / 0.9859 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2341, allocations: 0 / 0.9859 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.2341, allocations: 93 kB / 0.986 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.2341, allocations: 4 kB / 0.986 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.2343, allocations: 19.97 kB / 0.9861 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.2343, allocations: 8 kB / 0.9861 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002901/0.2346, allocations: 397.9 kB / 0.9864 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002843/0.2349, allocations: 440.6 kB / 0.9869 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001195/0.2351, allocations: 143.9 kB / 0.987 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.08e-05/0.2351, allocations: 95.2 kB / 0.9871 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of Backend: time 3.21e-07/0.2351, allocations: 0 / 0.9871 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.2364, allocations: 0.5847 MB / 0.9877 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003196/0.2367, allocations: 0.6666 MB / 0.9883 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.005662/0.2424, allocations: 3.948 MB / 0.9922 GB, free: 15.32 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)