Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.744/2.744, allocations: 287.5 MB / 302.4 MB, free: 8.32 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.001342/0.001342, allocations: 186 kB / 371 MB, free: 10.84 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.111/2.111, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009659/0.0009656, allocations: 108 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.0005009, allocations: 16.38 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2273, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0008403/0.2282, allocations: 270 kB / 0.9786 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.2302, allocations: 1.199 MB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.2302, allocations: 4 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.954e-05/0.2304, allocations: 0 / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.382e-05/0.2304, allocations: 0 / 0.9798 GB, free: 26.84 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0008055/0.2312, allocations: 259.5 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.2314, allocations: 63.86 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.363e-05/0.2314, allocations: 4 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.667e-05/0.2315, allocations: 43.91 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.399e-05/0.2316, allocations: 39.89 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.2316, allocations: 7.938 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004844/0.2321, allocations: 187.7 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.2321, allocations: 11.88 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.2322, allocations: 33.7 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.2325, allocations: 195.7 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.321e-06/0.2325, allocations: 0 / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2325, allocations: 4 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2325, allocations: 0 / 0.9806 GB, free: 26 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.0003836/0.2329, allocations: 421.2 kB / 0.981 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.233, allocations: 12.03 kB / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.2331, allocations: 4 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2332, allocations: 182.9 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.2332, allocations: 4 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.2332, allocations: 15.94 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.2335, allocations: 125.5 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.2335, allocations: 0 / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.2336, allocations: 4 kB / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2336, allocations: 0 / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.2338, allocations: 63.94 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.2339, allocations: 161.7 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.2341, allocations: 110.5 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.2343, allocations: 112.8 kB / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.2343, allocations: 0 / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.2344, allocations: 30.56 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.2344, allocations: 0 / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006577/0.235, allocations: 291.2 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.2351, allocations: 89.09 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2352, allocations: 129.6 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.2353, allocations: 29.73 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.2353, allocations: 88.12 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.2353, allocations: 15.81 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.2354, allocations: 7.938 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.99e-05/0.2354, allocations: 318.8 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.2356, allocations: 59.94 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.2358, allocations: 59.95 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.2359, allocations: 89.66 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2359, allocations: 0 / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004498/0.2364, allocations: 235.2 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.2364, allocations: 41.69 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2365, allocations: 0 / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2365, allocations: 0 / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.2365, allocations: 0 / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2365, allocations: 0 / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/0.237, allocations: 27.91 kB / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/0.237, allocations: 16 kB / 0.9832 GB, free: 23.06 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.0001435/0.2372, allocations: 167.5 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.2372, allocations: 19.92 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.366e-05/0.2372, allocations: 4.375 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2373, allocations: 11.86 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2373, allocations: 0 / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2373, allocations: 4 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.2374, allocations: 173.5 kB / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2374, allocations: 256 / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.2374, allocations: 0 / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2374, allocations: 4 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.2375, allocations: 16 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2375, allocations: 7.984 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2375, allocations: 0 / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.238, allocations: 286.5 kB / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.2381, allocations: 85.09 kB / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.051e-05/0.2381, allocations: 12 kB / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.2385, allocations: 20.34 kB / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.2386, allocations: 4 kB / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/0.2386, allocations: 20.02 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.502e-05/0.2387, allocations: 99.14 kB / 0.9841 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2387, allocations: 0 / 0.9841 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004935/0.2392, allocations: 91.98 kB / 0.9842 GB, free: 21.95 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.0009916/0.2402, allocations: 397 kB / 0.9846 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005058/0.2407, allocations: 291.2 kB / 0.9849 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2407, allocations: 4.062 kB / 0.9849 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.241, allocations: 211.3 kB / 0.9851 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.2412, allocations: 11.95 kB / 0.9851 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.242, allocations: 298.4 kB / 0.9854 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.2421, allocations: 0.6848 MB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.2422, allocations: 59.92 kB / 0.9861 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.454e-05/0.2423, allocations: 7.438 kB / 0.9861 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.2423, allocations: 0 / 0.9861 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.009145/0.2514, allocations: 3.892 MB / 0.9899 GB, free: 16.16 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)