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.001124/0.001124, allocations: 111.3 kB / 16.38 MB, free: 6.484 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.001041/0.001041, allocations: 190.7 kB / 17.32 MB, free: 5.82 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.344/1.344, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.799/1.799, allocations: 292.3 MB / 0.5496 GB, free: 17.38 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.0014/0.0014, allocations: 67.84 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2245, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.001947/0.2265, allocations: 0.5453 MB / 0.7853 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2279, allocations: 1.124 MB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.228, allocations: 0 / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.2281, allocations: 4 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.323e-05/0.2281, allocations: 0 / 0.7864 GB, free: 1.488 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.0005312/0.2287, allocations: 175.3 kB / 0.7866 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.199e-05/0.2288, allocations: 15.98 kB / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.2288, allocations: 8 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.2288, allocations: 4 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.2289, allocations: 11.97 kB / 0.7867 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.2289, allocations: 3.938 kB / 0.7867 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.2293, allocations: 203.6 kB / 0.7869 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.2294, allocations: 15.91 kB / 0.7869 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.2294, allocations: 0 / 0.7869 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.2297, allocations: 187.7 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.2297, allocations: 0 / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2297, allocations: 0 / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.83e-06/0.2297, allocations: 0 / 0.787 GB, free: 0.875 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.000382/0.2301, allocations: 371.5 kB / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2301, allocations: 8.031 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.2302, allocations: 4.938 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.2303, allocations: 168.4 kB / 0.7876 GB, free: 256 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.2303, allocations: 4.359 kB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.2304, allocations: 384 / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.2305, allocations: 49.8 kB / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2305, allocations: 0 / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.2305, allocations: 4 kB / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.2305, allocations: 0 / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.998e-05/0.2306, allocations: 15.92 kB / 0.7876 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.436/0.6666, allocations: 152.9 kB / 0.7878 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.6668, allocations: 23.86 kB / 0.7878 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.6668, allocations: 12.58 kB / 0.7878 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.6668, allocations: 0 / 0.7878 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.6668, allocations: 40.25 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 3.296e-06/0.6669, allocations: 1.062 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002142/0.6671, allocations: 67.17 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.6671, allocations: 55 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.601e-05/0.6672, allocations: 96.25 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.6672, allocations: 25.7 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.556e-05/0.6672, allocations: 80.14 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.6673, allocations: 10.98 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.6673, allocations: 12.47 kB / 0.7882 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.192e-05/0.6674, allocations: 315 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/0.6674, allocations: 7.844 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.065e-05/0.6674, allocations: 10.53 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.845e-05/0.6675, allocations: 22.09 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.6675, allocations: 0 / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.235e-05/0.6676, allocations: 54.75 kB / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6676, allocations: 6.188 kB / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6676, allocations: 2.719 kB / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.6677, allocations: 2.016 kB / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.6677, allocations: 0 / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.6677, allocations: 2.312 kB / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.746e-05/0.6677, allocations: 6.906 kB / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.6677, allocations: 2.75 kB / 0.7886 GB, free: 48.09 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 6.223e-05/0.6678, allocations: 119.9 kB / 0.7887 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.6678, allocations: 2.625 kB / 0.7887 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.18e-05/0.6678, allocations: 5.062 kB / 0.7887 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.6678, allocations: 3.844 kB / 0.7887 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6679, allocations: 2.812 kB / 0.7887 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.6679, allocations: 82.3 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.6679, allocations: 3.938 kB / 0.7888 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.668, allocations: 3.828 kB / 0.7888 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.668, allocations: 3.25 kB / 0.7888 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.678e-05/0.6681, allocations: 128 kB / 0.7889 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001095/0.6682, allocations: 222.2 kB / 0.7892 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.864e-05/0.6683, allocations: 13.12 kB / 0.7892 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.721e-05/0.6683, allocations: 78.78 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of Backend: time 5.21e-07/0.6683, allocations: 0.5938 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.6693, allocations: 299.9 kB / 0.7895 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003812/0.6697, allocations: 0.5307 MB / 0.7901 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.004507/0.6742, allocations: 1.713 MB / 0.7917 GB, free: 46.77 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 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)