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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.542/1.542, allocations: 292.3 MB / 308.1 MB, free: 4.285 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.001366/0.001366, allocations: 197.6 kB / 376.9 MB, free: 1.797 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.424/1.424, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 102.9 kB / 0.748 GB, free: 61.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 55.91 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2658, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.002099/0.2679, allocations: 0.6182 MB / 0.9828 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.2698, allocations: 1.28 MB / 0.9841 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.2698, allocations: 0 / 0.9841 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.27, allocations: 12 kB / 0.9841 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.744e-05/0.27, allocations: 3.938 kB / 0.9841 GB, free: 8.438 MB / 0.7136 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.0006175/0.2707, allocations: 255.5 kB / 0.9844 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.2708, allocations: 79.88 kB / 0.9844 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.2708, allocations: 4 kB / 0.9844 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.598e-05/0.2709, allocations: 35.91 kB / 0.9845 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.2709, allocations: 43.89 kB / 0.9845 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.271, allocations: 0 / 0.9845 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.2713, allocations: 207.6 kB / 0.9847 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.2714, allocations: 11.92 kB / 0.9847 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.69e-05/0.2715, allocations: 35.84 kB / 0.9848 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.2718, allocations: 279.5 kB / 0.985 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2718, allocations: 0 / 0.985 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.363e-05/0.2719, allocations: 4 kB / 0.985 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.2719, allocations: 0 / 0.985 GB, free: 7.5 MB / 0.7136 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.0004374/0.2723, allocations: 441.3 kB / 0.9854 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2724, allocations: 12.03 kB / 0.9855 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.2724, allocations: 8.844 kB / 0.9855 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.2726, allocations: 180.4 kB / 0.9856 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2726, allocations: 4.375 kB / 0.9856 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.2726, allocations: 8.375 kB / 0.9856 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.2728, allocations: 129.6 kB / 0.9858 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.2729, allocations: 0 / 0.9858 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.2729, allocations: 0 / 0.9858 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2729, allocations: 4 kB / 0.9858 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.273, allocations: 59.94 kB / 0.9858 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.2732, allocations: 157.7 kB / 0.986 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.2733, allocations: 114.6 kB / 0.9861 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.2734, allocations: 104.9 kB / 0.9862 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.2735, allocations: 0 / 0.9862 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.2735, allocations: 42.5 kB / 0.9862 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.061e-06/0.2735, allocations: 3.938 kB / 0.9862 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0004779/0.274, allocations: 287.1 kB / 0.9865 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.274, allocations: 93.09 kB / 0.9866 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.2741, allocations: 125.6 kB / 0.9867 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.2742, allocations: 29.7 kB / 0.9867 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.2742, allocations: 92.16 kB / 0.9868 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.2743, allocations: 15.81 kB / 0.9868 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.2743, allocations: 45.69 kB / 0.9869 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2744, allocations: 310.8 kB / 0.9872 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.386e-05/0.2745, allocations: 63.94 kB / 0.9872 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.118e-05/0.2746, allocations: 59.95 kB / 0.9873 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.2748, allocations: 184.1 kB / 0.9875 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2749, allocations: 0 / 0.9875 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003083/0.2752, allocations: 231.5 kB / 0.9877 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.2752, allocations: 45.69 kB / 0.9877 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2752, allocations: 11.94 kB / 0.9878 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2753, allocations: 0 / 0.9878 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.2753, allocations: 0 / 0.9878 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2753, allocations: 3.984 kB / 0.9878 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.2756, allocations: 23.83 kB / 0.9878 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.2756, allocations: 15.98 kB / 0.9878 GB, free: 4.387 MB / 0.7136 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.0001343/0.2758, allocations: 167.5 kB / 0.988 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.2758, allocations: 19.83 kB / 0.988 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.2759, allocations: 8.375 kB / 0.988 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2759, allocations: 0 / 0.988 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.269e-06/0.2759, allocations: 0 / 0.988 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2759, allocations: 0 / 0.988 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.276, allocations: 173.6 kB / 0.9882 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.276, allocations: 4 kB / 0.9882 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-06/0.276, allocations: 3.938 kB / 0.9882 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.276, allocations: 0 / 0.9882 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.2761, allocations: 11.98 kB / 0.9882 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2761, allocations: 4 kB / 0.9882 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2761, allocations: 0 / 0.9882 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007287/0.2768, allocations: 0.9261 MB / 0.9891 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.2769, allocations: 89.38 kB / 0.9892 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.2769, allocations: 4 kB / 0.9892 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.2771, allocations: 20.02 kB / 0.9892 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.2771, allocations: 11.98 kB / 0.9892 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.2772, allocations: 19.92 kB / 0.9892 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.394e-05/0.2772, allocations: 95.27 kB / 0.9893 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2772, allocations: 0 / 0.9893 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000417/0.2777, allocations: 95.86 kB / 0.9894 GB, free: 2.594 MB / 0.7136 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.009483/0.2871, allocations: 403.2 kB / 0.9898 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005504/0.2877, allocations: 295.2 kB / 0.9901 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2878, allocations: 0 / 0.9901 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.288, allocations: 215.3 kB / 0.9903 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.2883, allocations: 8 kB / 0.9903 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/0.289, allocations: 425.4 kB / 0.9907 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.2893, allocations: 0.6889 MB / 0.9914 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.2894, allocations: 55.8 kB / 0.9914 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.2894, allocations: 11.44 kB / 0.9914 GB, free: 496 kB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.2894, allocations: 0 / 0.9914 GB, free: 496 kB / 0.7136 GB Notification: Performance of Templates: time 0.007715/0.2972, allocations: 4.001 MB / 0.9953 GB, free: 12.5 MB / 0.7292 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)