Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.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.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.00166/0.00166, allocations: 198.3 kB / 17.3 MB, free: 5.801 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.329/1.329, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.55 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.001421/0.001422, allocations: 67.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2126, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.001755/0.2144, allocations: 0.5381 MB / 0.7853 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2158, allocations: 1.128 MB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.2158, allocations: 0 / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.268e-05/0.2159, allocations: 7.938 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.216, allocations: 0 / 0.7864 GB, free: 1.477 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.0005198/0.2165, allocations: 171.4 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.154e-05/0.2165, allocations: 11.98 kB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.2166, allocations: 0 / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.51e-05/0.2166, allocations: 15.92 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.62e-05/0.2167, allocations: 11.98 kB / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.2167, allocations: 4 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.217, allocations: 203.6 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.22e-05/0.2171, allocations: 7.984 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.2171, allocations: 11.94 kB / 0.7869 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.2174, allocations: 179.7 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2174, allocations: 0 / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.799e-06/0.2174, allocations: 0 / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2174, allocations: 3.938 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003182/0.2177, allocations: 363.6 kB / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.2178, allocations: 16.03 kB / 0.7874 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.2178, allocations: 0.9375 kB / 0.7874 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2179, allocations: 168.3 kB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.2179, allocations: 384 / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.218, allocations: 8.359 kB / 0.7876 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.2181, allocations: 41.81 kB / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.2181, allocations: 0 / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2181, allocations: 4 kB / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.2181, allocations: 7.938 kB / 0.7876 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.674e-05/0.2182, allocations: 11.98 kB / 0.7876 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3452/0.5633, allocations: 149.7 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.152e-05/0.5635, allocations: 28.73 kB / 0.7878 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.5635, allocations: 13.61 kB / 0.7878 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.5635, allocations: 3 kB / 0.7878 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.5635, allocations: 39.28 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.093e-06/0.5635, allocations: 1.406 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001675/0.5637, allocations: 56.55 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.5637, allocations: 53.31 kB / 0.788 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.145e-05/0.5638, allocations: 105.9 kB / 0.7881 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.5638, allocations: 25.7 kB / 0.7881 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.276e-05/0.5638, allocations: 80.14 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.5639, allocations: 6.641 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.5639, allocations: 19.34 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.736e-05/0.5639, allocations: 313.8 kB / 0.7885 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.564, allocations: 3.125 kB / 0.7885 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.633e-05/0.564, allocations: 9.156 kB / 0.7885 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.038e-05/0.564, allocations: 25.47 kB / 0.7885 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.564, allocations: 3.219 kB / 0.7885 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.787e-05/0.5641, allocations: 53.11 kB / 0.7886 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.5641, allocations: 8 kB / 0.7886 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.5641, allocations: 3.328 kB / 0.7886 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.5642, allocations: 0 / 0.7886 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.5642, allocations: 0 / 0.7886 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.5642, allocations: 2.719 kB / 0.7886 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.5642, allocations: 6.938 kB / 0.7886 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.5642, allocations: 6.625 kB / 0.7886 GB, free: 48.14 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 2 * Algorithm blocks: 0 * 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 4.312e-05/0.5643, allocations: 105.8 kB / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.5643, allocations: 4.438 kB / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.358e-06/0.5643, allocations: 10.03 kB / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.5643, allocations: 5.156 kB / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5643, allocations: 1.938 kB / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.5643, allocations: 0 / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.153e-05/0.5644, allocations: 160 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5644, allocations: 0 / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.5644, allocations: 3.094 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.5644, allocations: 0.5938 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.5644, allocations: 2.688 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5645, allocations: 1 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.5645, allocations: 0 / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.191e-05/0.5645, allocations: 83.08 kB / 0.789 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.5646, allocations: 78.7 kB / 0.789 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.5646, allocations: 4.188 kB / 0.789 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.368e-05/0.5647, allocations: 0 / 0.789 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.5647, allocations: 5.766 kB / 0.789 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.5647, allocations: 3.594 kB / 0.789 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.076e-05/0.5647, allocations: 87.19 kB / 0.7891 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5647, allocations: 0.6562 kB / 0.7891 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002934/0.565, allocations: 55.81 kB / 0.7892 GB, free: 47.6 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 2 * Algorithm blocks: 0 * 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.0005723/0.5656, allocations: 303.1 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.03e-05/0.5657, allocations: 20.75 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5657, allocations: 0 / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.915e-05/0.5657, allocations: 11.81 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.5659, allocations: 13.55 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.5662, allocations: 96.61 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.5663, allocations: 0.6727 MB / 0.7903 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.5664, allocations: 17.47 kB / 0.7903 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.5665, allocations: 23.27 kB / 0.7903 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.5665, allocations: 1 kB / 0.7903 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.00337/0.5698, allocations: 1.552 MB / 0.7918 GB, free: 46.63 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)