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.001493/0.001494, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002351/0.002351, allocations: 198.6 kB / 16.26 MB, free: 6.621 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.58/1.58, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.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.723/1.723, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001359/0.001359, allocations: 64.12 kB / 0.671 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2822, allocations: 114.5 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.00344/0.2857, allocations: 0.5986 MB / 0.7835 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.2878, allocations: 1.11 MB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.2878, allocations: 0 / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.288, allocations: 7.938 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.712e-05/0.2881, allocations: 0 / 0.7845 GB, free: 12.16 MB / 0.6075 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.0006989/0.2888, allocations: 159.6 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.666e-05/0.2889, allocations: 19.97 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.2889, allocations: 0 / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.458e-05/0.289, allocations: 11.92 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.289, allocations: 8 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.289, allocations: 0 / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004671/0.2895, allocations: 183.7 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.2896, allocations: 4 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.2896, allocations: 15.88 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.29, allocations: 187.7 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.29, allocations: 0 / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.29, allocations: 0 / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.29, allocations: 0 / 0.7851 GB, free: 11.59 MB / 0.6075 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.0004939/0.2905, allocations: 371.5 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.2906, allocations: 8.031 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.2907, allocations: 0.9375 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.2908, allocations: 168.2 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.2908, allocations: 4.375 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.2909, allocations: 4.375 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.291, allocations: 49.78 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.291, allocations: 3.984 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.2911, allocations: 0 / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/0.2911, allocations: 4 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.487e-05/0.2911, allocations: 8 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.2914, allocations: 150 kB / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.107e-05/0.2915, allocations: 42.53 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.2915, allocations: 8.922 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.2915, allocations: 4 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.2915, allocations: 34.5 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2916, allocations: 0 / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002188/0.2918, allocations: 57.67 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.2918, allocations: 55.41 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.948e-05/0.2919, allocations: 97.92 kB / 0.7861 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.292, allocations: 25.7 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.292, allocations: 84.08 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.292, allocations: 11.89 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.2921, allocations: 17.7 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2922, allocations: 314.8 kB / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.2922, allocations: 7.984 kB / 0.7866 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.2923, allocations: 8 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.702e-05/0.2923, allocations: 29.03 kB / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2923, allocations: 0 / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001017/0.2924, allocations: 53.56 kB / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2925, allocations: 4 kB / 0.7867 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.2925, allocations: 0 / 0.7867 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.2925, allocations: 8 kB / 0.7867 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-06/0.2925, allocations: 0 / 0.7867 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2925, allocations: 3.938 kB / 0.7867 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.928e-05/0.2926, allocations: 0 / 0.7867 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.2926, allocations: 7.969 kB / 0.7867 GB, free: 9.75 MB / 0.6075 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.666e-05/0.2927, allocations: 114.5 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.2927, allocations: 3.938 kB / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.667e-05/0.2927, allocations: 7.125 kB / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.2927, allocations: 0 / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2927, allocations: 0 / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2928, allocations: 0 / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.2929, allocations: 153.7 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2929, allocations: 4 kB / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-06/0.2929, allocations: 7.938 kB / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2929, allocations: 0 / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.2929, allocations: 0 / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.2929, allocations: 3.984 kB / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2929, allocations: 0 / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.2931, allocations: 77.03 kB / 0.787 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.2931, allocations: 81.05 kB / 0.7871 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.2932, allocations: 3.938 kB / 0.7871 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.2932, allocations: 12.02 kB / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.2933, allocations: 3.984 kB / 0.7871 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.2933, allocations: 4 kB / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.483e-05/0.2933, allocations: 75.28 kB / 0.7872 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.2933, allocations: 0 / 0.7872 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003264/0.2937, allocations: 55.98 kB / 0.7873 GB, free: 9.055 MB / 0.6075 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.0007369/0.2944, allocations: 314.4 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.2945, allocations: 19.98 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2946, allocations: 0 / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.041e-05/0.2946, allocations: 8 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.2948, allocations: 7.047 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.2952, allocations: 128.9 kB / 0.7877 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.2954, allocations: 0.6729 MB / 0.7884 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.2956, allocations: 15.98 kB / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.2956, allocations: 19.42 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2956, allocations: 0 / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of Templates: time 0.004211/0.2998, allocations: 1.56 MB / 0.7899 GB, free: 6.359 MB / 0.6075 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)