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.686/1.686, allocations: 288.4 MB / 303.7 MB, free: 8.039 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.0009637/0.0009635, allocations: 187 kB / 372.3 MB, free: 10.12 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.756/1.756, allocations: 205.4 MB / 0.631 GB, free: 9.797 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.0008974/0.0008974, allocations: 92.95 kB / 0.7444 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004374, allocations: 11.56 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2886, allocations: 115.3 MB / 0.9802 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0009134/0.2896, allocations: 270.2 kB / 0.9804 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.2912, allocations: 1.203 MB / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.2913, allocations: 4 kB / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.2914, allocations: 0 / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.247e-05/0.2915, allocations: 3.938 kB / 0.9816 GB, free: 25.81 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.000562/0.292, allocations: 255.5 kB / 0.9818 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.794e-05/0.2921, allocations: 55.88 kB / 0.9819 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.786e-05/0.2922, allocations: 15.97 kB / 0.9819 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.699e-05/0.2923, allocations: 43.91 kB / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.696e-05/0.2923, allocations: 35.91 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.2923, allocations: 4 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.2927, allocations: 203.6 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.2928, allocations: 0 / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.2928, allocations: 61.53 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.2931, allocations: 191.7 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.2931, allocations: 4 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2931, allocations: 4 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.2931, allocations: 3.938 kB / 0.9824 GB, free: 24.95 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.0003428/0.2935, allocations: 421.4 kB / 0.9828 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2935, allocations: 8.031 kB / 0.9828 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.2935, allocations: 4.938 kB / 0.9828 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2937, allocations: 184.3 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.2937, allocations: 4.375 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.2937, allocations: 8.312 kB / 0.983 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.2939, allocations: 133.6 kB / 0.9832 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.294, allocations: 3.984 kB / 0.9832 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.294, allocations: 4 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.294, allocations: 0 / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.895e-05/0.2941, allocations: 59.94 kB / 0.9832 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.2942, allocations: 157.7 kB / 0.9834 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.2944, allocations: 114.6 kB / 0.9835 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.2945, allocations: 100.9 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.2945, allocations: 11.88 kB / 0.9836 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2945, allocations: 38.5 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2945, allocations: 0 / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004163/0.295, allocations: 291.1 kB / 0.9839 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.295, allocations: 89.09 kB / 0.984 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.2951, allocations: 121.8 kB / 0.9841 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.2951, allocations: 29.7 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.2952, allocations: 88.12 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.2952, allocations: 19.84 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.2952, allocations: 0 / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.336e-05/0.2953, allocations: 318.8 kB / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.961e-05/0.2954, allocations: 63.88 kB / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.839e-05/0.2954, allocations: 55.95 kB / 0.9847 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.2956, allocations: 184.2 kB / 0.9848 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2956, allocations: 0 / 0.9848 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000257/0.2959, allocations: 239.1 kB / 0.9851 GB, free: 22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.2959, allocations: 41.69 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2959, allocations: 4.312 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.296, allocations: 0 / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.296, allocations: 4 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.296, allocations: 0 / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.2963, allocations: 23.92 kB / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.2963, allocations: 15.98 kB / 0.9851 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.0001148/0.2965, allocations: 171.4 kB / 0.9853 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.2965, allocations: 15.84 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.397e-05/0.2965, allocations: 16.31 kB / 0.9853 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2965, allocations: 0 / 0.9853 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.2965, allocations: 0 / 0.9853 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2965, allocations: 0 / 0.9853 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.186e-05/0.2966, allocations: 173.5 kB / 0.9855 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2966, allocations: 0 / 0.9855 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.2966, allocations: 3.938 kB / 0.9855 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.2966, allocations: 384 / 0.9855 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.2967, allocations: 15.98 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2967, allocations: 0 / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2967, allocations: 0 / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.297, allocations: 298.5 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.591e-05/0.2971, allocations: 93.02 kB / 0.9859 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.2971, allocations: 4 kB / 0.9859 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.2973, allocations: 19.98 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.2973, allocations: 7.984 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.2973, allocations: 15.98 kB / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.805e-05/0.2974, allocations: 95.2 kB / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2974, allocations: 4.031 kB / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003211/0.2977, allocations: 87.98 kB / 0.9861 GB, free: 20.8 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.0008256/0.2986, allocations: 406.1 kB / 0.9865 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.2989, allocations: 291.2 kB / 0.9868 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2989, allocations: 0 / 0.9868 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.2991, allocations: 207.4 kB / 0.987 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.2993, allocations: 16 kB / 0.987 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.2998, allocations: 302.3 kB / 0.9873 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.2999, allocations: 0.6809 MB / 0.988 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.519e-05/0.3, allocations: 51.86 kB / 0.988 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/0.3, allocations: 11.44 kB / 0.988 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.3, allocations: 4 kB / 0.988 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.006426/0.3065, allocations: 3.934 MB / 0.9919 GB, free: 14.97 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)