Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.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.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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.197/2.197, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001337/0.001337, allocations: 184.2 kB / 326.3 MB, free: 2.879 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.304/2.304, allocations: 205.4 MB / 0.5772 GB, free: 20.72 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.0009338/0.0009337, allocations: 87.86 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004953, allocations: 16.94 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2142, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0007962/0.2151, allocations: 274.8 kB / 0.8998 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00241/0.2175, allocations: 1.198 MB / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.2176, allocations: 0 / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.2178, allocations: 11.98 kB / 0.901 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.358e-05/0.2178, allocations: 0 / 0.901 GB, free: 64.07 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.001121/0.219, allocations: 259.5 kB / 0.9012 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.2191, allocations: 59.86 kB / 0.9013 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.2192, allocations: 7.984 kB / 0.9013 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.833e-05/0.2192, allocations: 47.88 kB / 0.9013 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.2193, allocations: 39.92 kB / 0.9014 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.2194, allocations: 4 kB / 0.9014 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/0.2199, allocations: 195.7 kB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.2199, allocations: 7.938 kB / 0.9016 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.22, allocations: 29.7 kB / 0.9016 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.2203, allocations: 195.7 kB / 0.9018 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2203, allocations: 0 / 0.9018 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2203, allocations: 0 / 0.9018 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2203, allocations: 0 / 0.9018 GB, free: 63.24 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.0003677/0.2207, allocations: 421.1 kB / 0.9022 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2208, allocations: 12.03 kB / 0.9022 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.2208, allocations: 12.84 kB / 0.9022 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.221, allocations: 180.3 kB / 0.9024 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.221, allocations: 384 / 0.9024 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.221, allocations: 8.375 kB / 0.9024 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.2213, allocations: 125.7 kB / 0.9025 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2213, allocations: 0 / 0.9025 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.2214, allocations: 4 kB / 0.9025 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2214, allocations: 0 / 0.9025 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.2216, allocations: 67.94 kB / 0.9026 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.2217, allocations: 154 kB / 0.9027 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.2219, allocations: 118.5 kB / 0.9028 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.2221, allocations: 104.9 kB / 0.9029 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.2222, allocations: 0 / 0.9029 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.2222, allocations: 38.44 kB / 0.903 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.2222, allocations: 0 / 0.903 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006798/0.2229, allocations: 299.1 kB / 0.9032 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.2229, allocations: 85.11 kB / 0.9033 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.827e-05/0.223, allocations: 137.5 kB / 0.9035 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.2231, allocations: 25.7 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.2231, allocations: 88.14 kB / 0.9036 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.2232, allocations: 15.75 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.2232, allocations: 4 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.176e-05/0.2233, allocations: 318.8 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.2235, allocations: 67.97 kB / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.2236, allocations: 55.95 kB / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.2238, allocations: 89.91 kB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.2238, allocations: 0 / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005237/0.2243, allocations: 227.3 kB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.777e-05/0.2244, allocations: 45.62 kB / 0.9044 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.2244, allocations: 3.984 kB / 0.9044 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.2245, allocations: 0 / 0.9044 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.404e-06/0.2245, allocations: 4 kB / 0.9044 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.2245, allocations: 3.938 kB / 0.9044 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.225, allocations: 27.95 kB / 0.9044 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/0.2251, allocations: 15.98 kB / 0.9044 GB, free: 60.29 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.0001617/0.2253, allocations: 163.5 kB / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.2253, allocations: 15.84 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.674e-05/0.2253, allocations: 4.375 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2254, allocations: 4 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2254, allocations: 0 / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.2254, allocations: 85.09 kB / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.2255, allocations: 7.984 kB / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.2259, allocations: 23.98 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.2259, allocations: 7.984 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005479/0.2265, allocations: 397.9 kB / 0.9051 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005438/0.2271, allocations: 440.5 kB / 0.9055 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002262/0.2273, allocations: 135.9 kB / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.181e-05/0.2274, allocations: 99.27 kB / 0.9057 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of Backend: time 7.41e-07/0.2274, allocations: 0 / 0.9057 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.229, allocations: 0.6081 MB / 0.9063 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003835/0.2294, allocations: 0.6633 MB / 0.907 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.009865/0.2393, allocations: 3.902 MB / 0.9108 GB, free: 53.71 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)