Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.196/2.196, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.0014, allocations: 186.6 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.374/2.374, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001858/0.001858, allocations: 95.91 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006401/0.0006403, allocations: 12.25 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1999, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.000889/0.2008, allocations: 270.8 kB / 0.8998 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002054/0.2029, allocations: 1.206 MB / 0.9009 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.2029, allocations: 0 / 0.9009 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.2031, allocations: 4 kB / 0.9009 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.517e-05/0.2031, allocations: 4 kB / 0.9009 GB, free: 64.04 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008026/0.2039, allocations: 263.5 kB / 0.9012 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.2041, allocations: 55.86 kB / 0.9013 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.2041, allocations: 4 kB / 0.9013 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.2042, allocations: 47.89 kB / 0.9013 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.2043, allocations: 39.84 kB / 0.9013 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.2043, allocations: 4 kB / 0.9013 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004618/0.2048, allocations: 191.6 kB / 0.9015 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.2048, allocations: 7.938 kB / 0.9015 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.2049, allocations: 33.7 kB / 0.9016 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.2052, allocations: 207.6 kB / 0.9018 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2052, allocations: 0 / 0.9018 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2052, allocations: 0 / 0.9018 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2052, allocations: 0 / 0.9018 GB, free: 63.2 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.0003682/0.2056, allocations: 421.1 kB / 0.9022 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2057, allocations: 8.031 kB / 0.9022 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.2057, allocations: 8.844 kB / 0.9022 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2058, allocations: 172.4 kB / 0.9023 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.2059, allocations: 8.312 kB / 0.9024 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.2059, allocations: 8.375 kB / 0.9024 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.2062, allocations: 129.7 kB / 0.9025 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2063, allocations: 0 / 0.9025 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.2063, allocations: 4 kB / 0.9025 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2063, allocations: 0 / 0.9025 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.2065, allocations: 59.95 kB / 0.9025 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.2066, allocations: 158 kB / 0.9027 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.2068, allocations: 118.5 kB / 0.9028 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.207, allocations: 108.9 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-06/0.207, allocations: 0 / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.2071, allocations: 42.48 kB / 0.903 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.2071, allocations: 0 / 0.903 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006725/0.2078, allocations: 287.1 kB / 0.9032 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.2078, allocations: 89.09 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.989e-05/0.2079, allocations: 133.6 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.208, allocations: 29.7 kB / 0.9035 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.793e-05/0.208, allocations: 84.17 kB / 0.9036 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/0.2081, allocations: 27.69 kB / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.2081, allocations: 0 / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.2082, allocations: 318.8 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.2083, allocations: 60.33 kB / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.2085, allocations: 59.94 kB / 0.904 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.2086, allocations: 89.66 kB / 0.9041 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2087, allocations: 0 / 0.9041 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004519/0.2091, allocations: 231.3 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.2092, allocations: 49.62 kB / 0.9043 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2092, allocations: 0 / 0.9043 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2092, allocations: 0 / 0.9043 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.2092, allocations: 0 / 0.9043 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2092, allocations: 3.984 kB / 0.9044 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004613/0.2097, allocations: 27.88 kB / 0.9044 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.2098, allocations: 15.98 kB / 0.9044 GB, free: 60.25 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.0001495/0.2099, allocations: 163.5 kB / 0.9046 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.21, allocations: 23.83 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.626e-05/0.21, allocations: 12.31 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2101, allocations: 0 / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2101, allocations: 0 / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.2101, allocations: 85.09 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.2102, allocations: 8 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.2105, allocations: 19.97 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.2106, allocations: 4 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005438/0.2111, allocations: 397.9 kB / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005502/0.2117, allocations: 444.4 kB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002296/0.212, allocations: 143.9 kB / 0.9056 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.329e-05/0.212, allocations: 95.27 kB / 0.9057 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of Backend: time 7.41e-07/0.212, allocations: 0 / 0.9057 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001628/0.2137, allocations: 0.5957 MB / 0.9063 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003938/0.2141, allocations: 0.6619 MB / 0.907 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of Templates: time 0.00914/0.2232, allocations: 3.85 MB / 0.9107 GB, free: 53.74 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)