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.761/1.761, allocations: 288.4 MB / 303.4 MB, free: 8.203 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.0009925/0.0009927, allocations: 190.1 kB / 372 MB, free: 10.27 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.711/1.711, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.000819/0.0008191, allocations: 88.89 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004747, allocations: 11.28 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2997, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0008691/0.3006, allocations: 266.2 kB / 0.9799 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.3022, allocations: 1.192 MB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.3023, allocations: 4 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.3024, allocations: 3.938 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.929e-05/0.3024, allocations: 0 / 0.981 GB, free: 26.18 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.000559/0.303, allocations: 259.5 kB / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.182e-05/0.3031, allocations: 55.88 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.3032, allocations: 8 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.029e-05/0.3032, allocations: 47.89 kB / 0.9814 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.889e-05/0.3033, allocations: 47.77 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.3033, allocations: 4 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.3037, allocations: 187.7 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.3037, allocations: 7.938 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.3037, allocations: 33.7 kB / 0.9817 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.304, allocations: 195.7 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.304, allocations: 3.938 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.242e-06/0.304, allocations: 4 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.304, allocations: 0 / 0.9818 GB, free: 25.33 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.0003734/0.3044, allocations: 421.2 kB / 0.9822 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3044, allocations: 8.031 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.3045, allocations: 4 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.3046, allocations: 182.9 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.3046, allocations: 4 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.3046, allocations: 7.938 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.3049, allocations: 137.5 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3049, allocations: 0 / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.3049, allocations: 0 / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3049, allocations: 4 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.955e-05/0.305, allocations: 55.95 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.3052, allocations: 161.7 kB / 0.9828 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.3053, allocations: 114.5 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.763e-05/0.3054, allocations: 104.8 kB / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.3054, allocations: 4 kB / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.3054, allocations: 34.56 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.3055, allocations: 0 / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004284/0.3059, allocations: 287.2 kB / 0.9833 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.3059, allocations: 89.09 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.468e-05/0.306, allocations: 133.6 kB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3061, allocations: 29.7 kB / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.3061, allocations: 84.14 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.3061, allocations: 19.78 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.3062, allocations: 4 kB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.3062, allocations: 322.8 kB / 0.984 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-05/0.3063, allocations: 59.95 kB / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.718e-05/0.3064, allocations: 59.94 kB / 0.9841 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.135e-05/0.3065, allocations: 89.91 kB / 0.9842 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3065, allocations: 0 / 0.9842 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002643/0.3068, allocations: 231.2 kB / 0.9844 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.3068, allocations: 41.69 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3069, allocations: 4.062 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3069, allocations: 0 / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.3069, allocations: 0 / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3069, allocations: 4 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.3072, allocations: 23.91 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.3073, allocations: 19.98 kB / 0.9845 GB, free: 22.39 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.0001152/0.3074, allocations: 175.4 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.3074, allocations: 11.91 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.14e-05/0.3074, allocations: 12.31 kB / 0.9847 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-06/0.3074, allocations: 0 / 0.9847 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3074, allocations: 4 kB / 0.9847 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3074, allocations: 0 / 0.9847 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.77e-05/0.3075, allocations: 173.5 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3075, allocations: 0 / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-06/0.3076, allocations: 4 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3076, allocations: 0 / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.3076, allocations: 15.98 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3076, allocations: 0 / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3076, allocations: 0 / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.3079, allocations: 290.6 kB / 0.9851 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.3079, allocations: 89.05 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.308, allocations: 8 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.3082, allocations: 19.97 kB / 0.9852 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.3082, allocations: 7.984 kB / 0.9852 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.3082, allocations: 12 kB / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.3083, allocations: 103.5 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3083, allocations: 4.031 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003026/0.3086, allocations: 91.97 kB / 0.9854 GB, free: 21.29 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.001536/0.3102, allocations: 401.5 kB / 0.9858 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.3105, allocations: 287.3 kB / 0.9861 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3105, allocations: 0 / 0.9861 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.3107, allocations: 219.3 kB / 0.9863 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.3109, allocations: 9.031 kB / 0.9863 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/0.3115, allocations: 301.7 kB / 0.9866 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.3116, allocations: 0.6848 MB / 0.9873 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.517e-05/0.3116, allocations: 51.86 kB / 0.9873 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.3117, allocations: 11.5 kB / 0.9873 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.3117, allocations: 4 kB / 0.9873 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of Templates: time 0.005821/0.3175, allocations: 3.899 MB / 0.9911 GB, free: 15.5 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)