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.001199/0.001199, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001286/0.001286, allocations: 191.1 kB / 16.25 MB, free: 6.629 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.525/1.525, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.686/1.686, allocations: 292.3 MB / 0.5485 GB, free: 13.65 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.001391/0.001391, allocations: 71.39 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3097, allocations: 114.5 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.002603/0.3124, allocations: 0.6103 MB / 0.7835 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002136/0.3145, allocations: 1.25 MB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.3146, allocations: 0 / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.3148, allocations: 15.92 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.525e-05/0.3149, allocations: 0 / 0.7847 GB, free: 12.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.0008717/0.3158, allocations: 275.5 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.3159, allocations: 75.81 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.585e-05/0.316, allocations: 4 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/0.3161, allocations: 39.89 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.358e-05/0.3162, allocations: 39.91 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.3162, allocations: 4 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005102/0.3167, allocations: 215.6 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.339e-05/0.3168, allocations: 4 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.003e-05/0.3168, allocations: 31.84 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.3172, allocations: 279.5 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.3173, allocations: 0 / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3173, allocations: 0 / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.3173, allocations: 0 / 0.7856 GB, free: 11.06 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.0006125/0.3179, allocations: 453.3 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.318, allocations: 8.031 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.318, allocations: 8.938 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.3182, allocations: 172.3 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.3182, allocations: 4.375 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.3183, allocations: 16.36 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.3186, allocations: 121.7 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3186, allocations: 0 / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.3186, allocations: 7.938 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3186, allocations: 0 / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.3187, allocations: 63.94 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.319, allocations: 161.7 kB / 0.7866 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.3191, allocations: 110.5 kB / 0.7867 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.3193, allocations: 116.8 kB / 0.7868 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-06/0.3193, allocations: 0 / 0.7868 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.3194, allocations: 34.5 kB / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.3194, allocations: 0 / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005803/0.32, allocations: 303 kB / 0.7871 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.32, allocations: 85.11 kB / 0.7872 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.3202, allocations: 129.7 kB / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.3202, allocations: 29.73 kB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.3203, allocations: 84.14 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.3203, allocations: 19.8 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.3204, allocations: 37.7 kB / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3206, allocations: 322.8 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.933e-05/0.3207, allocations: 55.95 kB / 0.7879 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.594e-05/0.3208, allocations: 59.94 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.321, allocations: 188.1 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.321, allocations: 4.031 kB / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003449/0.3214, allocations: 239.1 kB / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.998e-05/0.3215, allocations: 41.69 kB / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.3215, allocations: 0 / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.3215, allocations: 0 / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.793e-06/0.3215, allocations: 0 / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3215, allocations: 0 / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.322, allocations: 31.81 kB / 0.7884 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.322, allocations: 15.98 kB / 0.7884 GB, free: 7.93 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.0001751/0.3222, allocations: 159.6 kB / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.3222, allocations: 15.94 kB / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.3223, allocations: 12.36 kB / 0.7886 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3223, allocations: 0 / 0.7886 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3223, allocations: 0 / 0.7886 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3223, allocations: 0 / 0.7886 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.3225, allocations: 173.5 kB / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3225, allocations: 0 / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-06/0.3225, allocations: 7.875 kB / 0.7888 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3225, allocations: 256 / 0.7888 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.3225, allocations: 19.92 kB / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3225, allocations: 8 kB / 0.7888 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3225, allocations: 4 kB / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.323, allocations: 282.6 kB / 0.7891 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.323, allocations: 81.05 kB / 0.7891 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.3231, allocations: 4 kB / 0.7892 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.3233, allocations: 23.97 kB / 0.7892 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.3233, allocations: 11.98 kB / 0.7892 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.3234, allocations: 16.03 kB / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.193e-05/0.3234, allocations: 95.58 kB / 0.7893 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3234, allocations: 0 / 0.7893 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004006/0.3239, allocations: 95.97 kB / 0.7894 GB, free: 6.832 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.009625/0.3335, allocations: 400.9 kB / 0.7898 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000612/0.3342, allocations: 295.2 kB / 0.79 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.3342, allocations: 0 / 0.79 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.3344, allocations: 215.2 kB / 0.7903 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.3347, allocations: 8 kB / 0.7903 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007646/0.3355, allocations: 312.6 kB / 0.7906 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.3357, allocations: 0.6807 MB / 0.7912 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.3358, allocations: 63.92 kB / 0.7913 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.3359, allocations: 7.438 kB / 0.7913 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.3359, allocations: 0 / 0.7913 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of Templates: time 0.008643/0.3445, allocations: 4.043 MB / 0.7952 GB, free: 0.8867 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (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)