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.001359/0.001359, allocations: 105.3 kB / 16.29 MB, free: 6.43 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.001421/0.001421, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.444/1.444, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.875/1.875, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001899/0.001899, allocations: 71.89 kB / 0.6722 GB, free: 6.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2703, allocations: 114.6 MB / 0.7841 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.002043/0.2724, allocations: 0.5341 MB / 0.7846 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.2741, allocations: 1.121 MB / 0.7857 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.784e-05/0.2741, allocations: 4 kB / 0.7857 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.605e-05/0.2742, allocations: 0 / 0.7857 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.431e-05/0.2743, allocations: 4 kB / 0.7857 GB, free: 2.141 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.0005564/0.2749, allocations: 175.3 kB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.693e-05/0.2749, allocations: 23.92 kB / 0.7859 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.275, allocations: 0 / 0.7859 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.275, allocations: 11.97 kB / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.2751, allocations: 4 kB / 0.7859 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.2751, allocations: 4 kB / 0.7859 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.2755, allocations: 203.6 kB / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.2755, allocations: 8 kB / 0.7861 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.2756, allocations: 7.938 kB / 0.7861 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.2759, allocations: 187.7 kB / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2759, allocations: 0 / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2759, allocations: 0 / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2759, allocations: 4 kB / 0.7863 GB, free: 1.523 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.0004096/0.2763, allocations: 367.5 kB / 0.7867 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2764, allocations: 12.03 kB / 0.7867 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.2764, allocations: 4.938 kB / 0.7867 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2765, allocations: 164.4 kB / 0.7868 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.2766, allocations: 4.375 kB / 0.7868 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.2766, allocations: 4.359 kB / 0.7869 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.2767, allocations: 41.81 kB / 0.7869 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2767, allocations: 7.938 kB / 0.7869 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2768, allocations: 0 / 0.7869 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.2768, allocations: 7.984 kB / 0.7869 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.779e-05/0.2768, allocations: 7.984 kB / 0.7869 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.277, allocations: 154 kB / 0.7871 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.291e-05/0.2771, allocations: 30.59 kB / 0.7871 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.2771, allocations: 8.922 kB / 0.7871 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.2771, allocations: 8 kB / 0.7871 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.2772, allocations: 38.5 kB / 0.7871 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.104e-06/0.2772, allocations: 0 / 0.7871 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001708/0.2774, allocations: 61.52 kB / 0.7872 GB, free: 464 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.2774, allocations: 51.41 kB / 0.7873 GB, free: 400 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.527e-05/0.2775, allocations: 101.8 kB / 0.7873 GB, free: 288 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.2775, allocations: 25.7 kB / 0.7874 GB, free: 256 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.2776, allocations: 84.39 kB / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.2776, allocations: 7.906 kB / 0.7875 GB, free: 160 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.2776, allocations: 25.62 kB / 0.7875 GB, free: 128 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.5162/0.7939, allocations: 310.8 kB / 0.7878 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.794, allocations: 4.656 kB / 0.7878 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/0.7941, allocations: 11.36 kB / 0.7878 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.958e-05/0.7942, allocations: 20.42 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.7942, allocations: 3 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001375/0.7943, allocations: 55.69 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.7944, allocations: 6.25 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.7944, allocations: 3.828 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.7944, allocations: 1.938 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.7944, allocations: 0 / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7944, allocations: 3.375 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.584e-05/0.7945, allocations: 0 / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.7945, allocations: 3.234 kB / 0.7879 GB, free: 48.29 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 8.571e-05/0.7946, allocations: 107.5 kB / 0.788 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.7946, allocations: 4.922 kB / 0.788 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.7946, allocations: 5.594 kB / 0.788 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.7947, allocations: 3.609 kB / 0.788 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.7947, allocations: 4.453 kB / 0.788 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.7947, allocations: 0 / 0.788 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.7948, allocations: 156.6 kB / 0.7882 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.7948, allocations: 0 / 0.7882 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-06/0.7948, allocations: 5.75 kB / 0.7882 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.7948, allocations: 0 / 0.7882 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.7948, allocations: 0 / 0.7882 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7948, allocations: 0 / 0.7882 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7949, allocations: 6.562 kB / 0.7882 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.885e-05/0.795, allocations: 75.72 kB / 0.7882 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.795, allocations: 81.61 kB / 0.7883 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.795, allocations: 3.359 kB / 0.7883 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.7951, allocations: 5.766 kB / 0.7883 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.7951, allocations: 8.688 kB / 0.7883 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.7951, allocations: 2.625 kB / 0.7883 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.616e-05/0.7952, allocations: 75.28 kB / 0.7884 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7952, allocations: 0 / 0.7884 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003325/0.7955, allocations: 66.38 kB / 0.7885 GB, free: 47.75 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.0006637/0.7962, allocations: 299.8 kB / 0.7888 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.7963, allocations: 24.39 kB / 0.7888 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7963, allocations: 0 / 0.7888 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-05/0.7963, allocations: 8.766 kB / 0.7888 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.7965, allocations: 4.875 kB / 0.7888 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.7968, allocations: 94.75 kB / 0.7889 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.7969, allocations: 0.6798 MB / 0.7896 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.7971, allocations: 9.781 kB / 0.7896 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.7971, allocations: 23.08 kB / 0.7896 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of SimCode: time 8.11e-07/0.7972, allocations: 0 / 0.7896 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.004011/0.8012, allocations: 1.561 MB / 0.7911 GB, free: 46.78 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)