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.001146/0.001146, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 197.5 kB / 16.64 MB, free: 6.449 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.54/1.54, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.791/1.791, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001417/0.001418, allocations: 69.28 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2555, allocations: 114.6 MB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.001998/0.2576, allocations: 0.5453 MB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.2593, allocations: 1.266 MB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.2594, allocations: 0 / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.2595, allocations: 7.984 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.917e-05/0.2595, allocations: 0 / 0.7859 GB, free: 10.87 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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.Strings.replace'. Notification: Performance of NFTyping.typeClassSections: time 0.0006979/0.2602, allocations: 303.1 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.2604, allocations: 67.92 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.2604, allocations: 7.938 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.201e-05/0.2605, allocations: 43.89 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.934e-05/0.2606, allocations: 39.91 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.2606, allocations: 8 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/0.261, allocations: 235.6 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.261, allocations: 7.938 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.2611, allocations: 31.91 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.2614, allocations: 275.4 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2614, allocations: 4 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2615, allocations: 0 / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2615, allocations: 0 / 0.7869 GB, free: 9.863 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.0004697/0.2619, allocations: 441.1 kB / 0.7873 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.262, allocations: 11.97 kB / 0.7873 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.262, allocations: 12.94 kB / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.2622, allocations: 188.2 kB / 0.7875 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.2622, allocations: 384 / 0.7875 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.2622, allocations: 8.375 kB / 0.7875 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.2625, allocations: 129.6 kB / 0.7877 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.2625, allocations: 0 / 0.7877 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.2625, allocations: 4 kB / 0.7877 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2625, allocations: 0 / 0.7877 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.2626, allocations: 63.94 kB / 0.7877 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.2628, allocations: 161.7 kB / 0.7879 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.2629, allocations: 114.5 kB / 0.788 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.2631, allocations: 104.9 kB / 0.7881 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-06/0.2631, allocations: 0 / 0.7881 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.2631, allocations: 38.44 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.2631, allocations: 0 / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004932/0.2636, allocations: 295.1 kB / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.2637, allocations: 93.12 kB / 0.7885 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.2638, allocations: 121.8 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.2638, allocations: 29.7 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.2639, allocations: 84.14 kB / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.2639, allocations: 15.8 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.264, allocations: 37.7 kB / 0.7888 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2641, allocations: 322.8 kB / 0.7891 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.225e-05/0.2642, allocations: 67.88 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.829e-05/0.2643, allocations: 63.95 kB / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.2645, allocations: 180.2 kB / 0.7894 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2645, allocations: 0 / 0.7894 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003027/0.2648, allocations: 231.1 kB / 0.7896 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.2648, allocations: 45.69 kB / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2649, allocations: 3.984 kB / 0.7896 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2649, allocations: 0 / 0.7896 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.2649, allocations: 0 / 0.7896 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2649, allocations: 4 kB / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.2652, allocations: 35.81 kB / 0.7897 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.2652, allocations: 15.98 kB / 0.7897 GB, free: 6.734 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.0001399/0.2654, allocations: 168.1 kB / 0.7899 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.2654, allocations: 11.94 kB / 0.7899 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.292e-05/0.2654, allocations: 4.625 kB / 0.7899 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2654, allocations: 0 / 0.7899 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2655, allocations: 4 kB / 0.7899 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2655, allocations: 4 kB / 0.7899 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.2656, allocations: 169.5 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2656, allocations: 4.375 kB / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-06/0.2656, allocations: 3.938 kB / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.2656, allocations: 0 / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.2656, allocations: 19.98 kB / 0.7901 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2656, allocations: 3.938 kB / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2656, allocations: 0 / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.266, allocations: 286.6 kB / 0.7903 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.2661, allocations: 81.05 kB / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.2661, allocations: 16.02 kB / 0.7904 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.2663, allocations: 15.98 kB / 0.7905 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.2664, allocations: 7.984 kB / 0.7905 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.2664, allocations: 19.98 kB / 0.7905 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.109e-05/0.2664, allocations: 95.2 kB / 0.7906 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2665, allocations: 0 / 0.7906 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003224/0.2668, allocations: 87.92 kB / 0.7907 GB, free: 5.645 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.009409/0.2762, allocations: 404.9 kB / 0.791 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004901/0.2767, allocations: 287.2 kB / 0.7913 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2767, allocations: 0 / 0.7913 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.277, allocations: 211.3 kB / 0.7915 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.2772, allocations: 15.88 kB / 0.7915 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.2777, allocations: 252.4 kB / 0.7918 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.2779, allocations: 0.6847 MB / 0.7924 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.357e-05/0.278, allocations: 51.86 kB / 0.7925 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.278, allocations: 11.44 kB / 0.7925 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.278, allocations: 0 / 0.7925 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of Templates: time 0.006653/0.2847, allocations: 4.033 MB / 0.7964 GB, free: 15.77 MB / 0.6231 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)