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.001444/0.001444, allocations: 106.9 kB / 16.36 MB, free: 6.012 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.001442/0.001442, allocations: 192.7 kB / 17.3 MB, free: 5.617 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.322/1.322, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.778/1.778, allocations: 292.3 MB / 0.5496 GB, free: 17.4 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.001625/0.001626, allocations: 63.91 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2341, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.002083/0.2362, allocations: 0.5565 MB / 0.7853 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.2381, allocations: 1.261 MB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.267e-05/0.2382, allocations: 0 / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.2383, allocations: 7.984 kB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.2384, allocations: 3.938 kB / 0.7866 GB, free: 1.293 MB / 0.6544 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.0009145/0.2393, allocations: 295.2 kB / 0.7869 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.2395, allocations: 79.8 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.2395, allocations: 4 kB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.482e-05/0.2396, allocations: 39.89 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.604e-05/0.2397, allocations: 39.91 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.2397, allocations: 8 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.2402, allocations: 235.6 kB / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.2403, allocations: 0 / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.286e-05/0.2403, allocations: 35.84 kB / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004573/0.2408, allocations: 271.5 kB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2408, allocations: 0 / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2408, allocations: 0 / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2408, allocations: 0 / 0.7875 GB, free: 312 kB / 0.6544 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.4117/0.6525, allocations: 449.8 kB / 0.788 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.6526, allocations: 8.281 kB / 0.788 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.901e-05/0.6526, allocations: 9.438 kB / 0.788 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.6528, allocations: 178.3 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.6528, allocations: 5.781 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.6528, allocations: 5.938 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.6531, allocations: 134.8 kB / 0.7883 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.6531, allocations: 0 / 0.7883 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.6531, allocations: 6.281 kB / 0.7883 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.6531, allocations: 0 / 0.7883 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.6532, allocations: 58.23 kB / 0.7884 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.6534, allocations: 157.6 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.6535, allocations: 120.3 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.6536, allocations: 102.6 kB / 0.7887 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.6537, allocations: 0 / 0.7887 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.6537, allocations: 38.22 kB / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 7.72e-07/0.6537, allocations: 0 / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0004656/0.6542, allocations: 298.9 kB / 0.7891 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.6542, allocations: 87.86 kB / 0.7891 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.474e-05/0.6543, allocations: 125 kB / 0.7893 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.6543, allocations: 30.39 kB / 0.7893 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.6544, allocations: 88.36 kB / 0.7894 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.6544, allocations: 18.12 kB / 0.7894 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.6545, allocations: 39.22 kB / 0.7894 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.536e-05/0.6545, allocations: 319.9 kB / 0.7897 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.894e-05/0.6546, allocations: 60.33 kB / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.393e-05/0.6547, allocations: 63.23 kB / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.6549, allocations: 183 kB / 0.79 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6549, allocations: 0 / 0.79 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002904/0.6552, allocations: 234.1 kB / 0.7902 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.6553, allocations: 42.36 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.6553, allocations: 7.781 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.6553, allocations: 0 / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.6553, allocations: 0 / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.6553, allocations: 1.781 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.6556, allocations: 32.61 kB / 0.7903 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.6557, allocations: 15.81 kB / 0.7903 GB, free: 47.34 MB / 0.6544 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.000125/0.6558, allocations: 162.2 kB / 0.7905 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.6559, allocations: 16.91 kB / 0.7905 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.468e-05/0.6559, allocations: 11.06 kB / 0.7905 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.6559, allocations: 0 / 0.7905 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6559, allocations: 2.688 kB / 0.7905 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.6559, allocations: 0 / 0.7905 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.646e-05/0.656, allocations: 173.4 kB / 0.7907 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.656, allocations: 0 / 0.7907 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-06/0.656, allocations: 0.9375 kB / 0.7907 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.656, allocations: 0 / 0.7907 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.656, allocations: 21.72 kB / 0.7907 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.6561, allocations: 0.7188 kB / 0.7907 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6561, allocations: 3.125 kB / 0.7907 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.6564, allocations: 288.7 kB / 0.791 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.6564, allocations: 81.14 kB / 0.7911 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.6565, allocations: 9.188 kB / 0.7911 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.6567, allocations: 19.5 kB / 0.7911 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.6567, allocations: 13.03 kB / 0.7911 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.6567, allocations: 13.61 kB / 0.7911 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.6568, allocations: 95.42 kB / 0.7912 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6568, allocations: 0 / 0.7912 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003673/0.6572, allocations: 91.27 kB / 0.7913 GB, free: 46.73 MB / 0.6544 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.002563/0.6597, allocations: 402.1 kB / 0.7917 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004524/0.6602, allocations: 295.3 kB / 0.792 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6602, allocations: 1.375 kB / 0.792 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.6605, allocations: 210.4 kB / 0.7922 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.6607, allocations: 13.94 kB / 0.7922 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.6611, allocations: 238.4 kB / 0.7924 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.6612, allocations: 0.6822 MB / 0.7931 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.388e-05/0.6613, allocations: 55.33 kB / 0.7931 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.6613, allocations: 10.12 kB / 0.7931 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.6613, allocations: 0 / 0.7931 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.006914/0.6682, allocations: 4.03 MB / 0.7971 GB, free: 45.44 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)