Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008052/0.0008053, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005812/0.005812, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000631/0.0006311, allocations: 17.78 kB / 0.6743 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.301, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0008991/0.302, allocations: 274 kB / 0.7882 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002192/0.3042, allocations: 1.262 MB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.445e-05/0.3043, allocations: 0 / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.3044, allocations: 4 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.382e-05/0.3045, allocations: 0 / 0.7894 GB, free: 10.01 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.0008736/0.3054, allocations: 271.4 kB / 0.7897 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.3056, allocations: 71.86 kB / 0.7897 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.96e-05/0.3056, allocations: 4 kB / 0.7897 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/0.3057, allocations: 43.86 kB / 0.7898 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.835e-05/0.3058, allocations: 39.89 kB / 0.7898 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.3058, allocations: 7.938 kB / 0.7898 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005938/0.3064, allocations: 207.7 kB / 0.79 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.3064, allocations: 15.91 kB / 0.79 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.245e-05/0.3065, allocations: 53.56 kB / 0.7901 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005466/0.3071, allocations: 279.5 kB / 0.7903 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3071, allocations: 0 / 0.7903 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3071, allocations: 0 / 0.7903 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3071, allocations: 0 / 0.7903 GB, free: 9.031 MB / 0.6075 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.000517/0.3077, allocations: 425.3 kB / 0.7908 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.3077, allocations: 8.031 kB / 0.7908 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.3078, allocations: 8.938 kB / 0.7908 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.3079, allocations: 188.2 kB / 0.7909 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.308, allocations: 384 / 0.7909 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.308, allocations: 8.375 kB / 0.791 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.3083, allocations: 121.7 kB / 0.7911 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3083, allocations: 0 / 0.7911 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.3083, allocations: 4 kB / 0.7911 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3083, allocations: 4 kB / 0.7911 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.3085, allocations: 67.88 kB / 0.7911 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.3086, allocations: 157.7 kB / 0.7913 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.3088, allocations: 110.6 kB / 0.7914 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.3089, allocations: 104.9 kB / 0.7915 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.301e-06/0.309, allocations: 3.938 kB / 0.7915 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.309, allocations: 38.5 kB / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.309, allocations: 4 kB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005325/0.3095, allocations: 295 kB / 0.7918 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.3096, allocations: 85.11 kB / 0.7919 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3097, allocations: 125.8 kB / 0.792 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.3098, allocations: 29.7 kB / 0.7921 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.3098, allocations: 84.14 kB / 0.7921 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.3099, allocations: 15.8 kB / 0.7922 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.3099, allocations: 17.72 kB / 0.7922 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.31, allocations: 319.2 kB / 0.7925 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.406e-05/0.3101, allocations: 63.94 kB / 0.7925 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.959e-05/0.3102, allocations: 63.94 kB / 0.7926 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.3104, allocations: 180.1 kB / 0.7928 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3105, allocations: 3.938 kB / 0.7928 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003306/0.3108, allocations: 235.3 kB / 0.793 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/0.3109, allocations: 45.69 kB / 0.793 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3109, allocations: 0 / 0.793 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3109, allocations: 4 kB / 0.793 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.3109, allocations: 0 / 0.793 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3109, allocations: 8.062 kB / 0.793 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.3112, allocations: 23.83 kB / 0.7931 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.3113, allocations: 15.98 kB / 0.7931 GB, free: 5.957 MB / 0.6075 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 (yI2[2],yI2[1],yI1[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.3114, allocations: 163.5 kB / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.3115, allocations: 15.84 kB / 0.7933 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.504e-05/0.3115, allocations: 4.375 kB / 0.7933 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3115, allocations: 0 / 0.7933 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.3115, allocations: 0 / 0.7933 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3115, allocations: 11.98 kB / 0.7933 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.3117, allocations: 165.7 kB / 0.7934 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3117, allocations: 0 / 0.7934 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-06/0.3117, allocations: 3.938 kB / 0.7934 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3117, allocations: 7.984 kB / 0.7934 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.3117, allocations: 8 kB / 0.7935 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3117, allocations: 7.875 kB / 0.7935 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3117, allocations: 0 / 0.7935 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.3121, allocations: 294.6 kB / 0.7937 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.3122, allocations: 93.03 kB / 0.7938 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.3123, allocations: 4 kB / 0.7938 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.3125, allocations: 19.97 kB / 0.7939 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.3125, allocations: 8 kB / 0.7939 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.3126, allocations: 15.98 kB / 0.7939 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.227e-05/0.3126, allocations: 95.27 kB / 0.794 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3126, allocations: 0 / 0.794 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003715/0.313, allocations: 87.89 kB / 0.794 GB, free: 4.863 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009157/0.3139, allocations: 408.4 kB / 0.7944 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.3143, allocations: 291.2 kB / 0.7947 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3143, allocations: 0 / 0.7947 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.3146, allocations: 211.3 kB / 0.7949 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.3148, allocations: 15.94 kB / 0.7949 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.3154, allocations: 294.7 kB / 0.7952 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.3156, allocations: 0.6848 MB / 0.7959 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.083e-05/0.3157, allocations: 63.98 kB / 0.7959 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.34e-05/0.3157, allocations: 7.438 kB / 0.796 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.3157, allocations: 0 / 0.796 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of Templates: time 0.008057/0.3238, allocations: 3.944 MB / 0.7998 GB, free: 15.01 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1) Environment - environmentSimulation: