Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.823/2.823, allocations: 287.5 MB / 302.4 MB, free: 8.355 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.002007/0.002007, allocations: 188.6 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.167/2.167, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009276/0.0009271, allocations: 92.55 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006532/0.0006534, allocations: 12.67 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2154, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.0008399/0.2163, allocations: 282 kB / 0.9786 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.2183, allocations: 1.184 MB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.2183, allocations: 0 / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.2185, allocations: 7.922 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.853e-05/0.2185, allocations: 0 / 0.9798 GB, free: 26.91 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0008422/0.2194, allocations: 259.5 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.2195, allocations: 59.86 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.2196, allocations: 4 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.826e-05/0.2196, allocations: 51.88 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.2197, allocations: 35.91 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.2198, allocations: 8 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005084/0.2203, allocations: 191.6 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.2203, allocations: 7.938 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.2204, allocations: 41.62 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.2207, allocations: 191.7 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2207, allocations: 0 / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2207, allocations: 0 / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2207, allocations: 0 / 0.9806 GB, free: 26.07 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.000391/0.2211, allocations: 425.2 kB / 0.981 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2212, allocations: 12.03 kB / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.2212, allocations: 4 kB / 0.981 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2214, allocations: 182.9 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.2214, allocations: 4 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.2214, allocations: 7.938 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.2217, allocations: 133.5 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2218, allocations: 3.938 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.2218, allocations: 4 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.2218, allocations: 0 / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.222, allocations: 55.95 kB / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.2221, allocations: 165.7 kB / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.2223, allocations: 114.5 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.2225, allocations: 100.9 kB / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.2225, allocations: 0 / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.2226, allocations: 42.48 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.2226, allocations: 0 / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006853/0.2233, allocations: 287.2 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.2233, allocations: 89.09 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.2235, allocations: 129.7 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.2235, allocations: 29.7 kB / 0.9823 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/0.2235, allocations: 84.14 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.2236, allocations: 11.81 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.2236, allocations: 4 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.2237, allocations: 322.8 kB / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.2239, allocations: 63.92 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.224, allocations: 63.94 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.2242, allocations: 89.66 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2242, allocations: 0 / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004572/0.2246, allocations: 227.2 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/0.2247, allocations: 41.69 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2247, allocations: 0 / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.2248, allocations: 0 / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-06/0.2248, allocations: 4 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.2248, allocations: 0 / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.2253, allocations: 28.22 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.556e-05/0.2253, allocations: 19.98 kB / 0.9832 GB, free: 23.12 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.0001522/0.2255, allocations: 167.8 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.2255, allocations: 15.91 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.569e-05/0.2256, allocations: 4.375 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2256, allocations: 0 / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2256, allocations: 11.88 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.2256, allocations: 0 / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.2257, allocations: 173.5 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2257, allocations: 7.938 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-06/0.2258, allocations: 4 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2258, allocations: 0 / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.2258, allocations: 15.98 kB / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.2258, allocations: 0 / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.2258, allocations: 0 / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.2264, allocations: 286.5 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.2264, allocations: 89.09 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.2265, allocations: 4.031 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.2268, allocations: 23.97 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.035e-05/0.2269, allocations: 15.98 kB / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.227, allocations: 8 kB / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.651e-05/0.2271, allocations: 99.25 kB / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2271, allocations: 0 / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004686/0.2276, allocations: 87.98 kB / 0.9842 GB, free: 22.02 MB / 0.6198 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.001019/0.2286, allocations: 407.7 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005192/0.2291, allocations: 283.3 kB / 0.9849 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2291, allocations: 0 / 0.9849 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.2294, allocations: 215.3 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.2296, allocations: 21.89 kB / 0.9851 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007247/0.2304, allocations: 294.5 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.2305, allocations: 0.6809 MB / 0.986 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.574e-05/0.2306, allocations: 51.86 kB / 0.9861 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.2307, allocations: 11.44 kB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of SimCode: time 9.02e-07/0.2307, allocations: 0 / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.009422/0.2401, allocations: 3.839 MB / 0.9898 GB, free: 16.28 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)