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.001579/0.001579, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002245/0.002245, allocations: 193.4 kB / 16.14 MB, free: 6.711 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.515/1.515, allocations: 205.1 MB / 222 MB, free: 4.746 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.797/1.797, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001371/0.001371, allocations: 62.25 kB / 0.6708 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3185, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.002123/0.3207, allocations: 0.6102 MB / 0.7833 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.3222, allocations: 1.125 MB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.779e-05/0.3223, allocations: 0 / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.3224, allocations: 7.984 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.051e-05/0.3225, allocations: 0 / 0.7844 GB, free: 12.24 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.0004189/0.3229, allocations: 151.6 kB / 0.7845 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.656e-05/0.3229, allocations: 12 kB / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.323, allocations: 3.984 kB / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.389e-05/0.323, allocations: 4 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.872e-05/0.3231, allocations: 8 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.3231, allocations: 7.938 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.3235, allocations: 179.7 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.3235, allocations: 3.938 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.3235, allocations: 4 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.3238, allocations: 195.6 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3238, allocations: 4 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3239, allocations: 4 kB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3239, allocations: 0 / 0.7849 GB, free: 11.67 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.0004206/0.3243, allocations: 367.5 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3243, allocations: 8.031 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.3244, allocations: 0.9375 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.3245, allocations: 172.3 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3245, allocations: 4.375 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.3246, allocations: 4.359 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.3247, allocations: 45.81 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3247, allocations: 0 / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.3247, allocations: 4 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.3248, allocations: 0 / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.443e-05/0.3248, allocations: 15.92 kB / 0.7855 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.325, allocations: 146 kB / 0.7857 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.723e-05/0.3251, allocations: 30.56 kB / 0.7857 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.3251, allocations: 16.91 kB / 0.7857 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.3251, allocations: 4 kB / 0.7857 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.3251, allocations: 34.5 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.3252, allocations: 0 / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001831/0.3253, allocations: 61.62 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.3254, allocations: 51.41 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.327e-05/0.3255, allocations: 97.78 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.3255, allocations: 33.94 kB / 0.786 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.3255, allocations: 88.14 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.3256, allocations: 3.906 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.3256, allocations: 13.72 kB / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.3257, allocations: 310.8 kB / 0.7864 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.3257, allocations: 11.98 kB / 0.7864 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.436e-05/0.3258, allocations: 7.938 kB / 0.7864 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.428e-05/0.3258, allocations: 24.84 kB / 0.7864 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3258, allocations: 4.062 kB / 0.7864 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.892e-05/0.3259, allocations: 53.56 kB / 0.7865 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3259, allocations: 8 kB / 0.7865 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3259, allocations: 0 / 0.7865 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.326, allocations: 0 / 0.7865 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-06/0.326, allocations: 3.984 kB / 0.7865 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.326, allocations: 0 / 0.7865 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.29e-05/0.326, allocations: 0 / 0.7865 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.326, allocations: 4 kB / 0.7865 GB, free: 9.852 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 7.255e-05/0.3261, allocations: 114.5 kB / 0.7866 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.3261, allocations: 11.88 kB / 0.7866 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.35e-05/0.3261, allocations: 3.125 kB / 0.7866 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.3261, allocations: 0 / 0.7866 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3262, allocations: 0 / 0.7866 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3262, allocations: 3.984 kB / 0.7866 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.3263, allocations: 153.7 kB / 0.7868 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3263, allocations: 3.984 kB / 0.7868 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-06/0.3263, allocations: 3.938 kB / 0.7868 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3263, allocations: 0 / 0.7868 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3263, allocations: 4 kB / 0.7868 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3263, allocations: 0 / 0.7868 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3263, allocations: 4 kB / 0.7868 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.999e-05/0.3264, allocations: 76.97 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.3265, allocations: 85.05 kB / 0.7869 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.3265, allocations: 7.984 kB / 0.7869 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/0.3266, allocations: 0 / 0.7869 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.3266, allocations: 8.016 kB / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.3266, allocations: 4 kB / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.907e-05/0.3266, allocations: 83.28 kB / 0.787 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3267, allocations: 0 / 0.787 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002735/0.3269, allocations: 55.92 kB / 0.7871 GB, free: 9.141 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.000636/0.3276, allocations: 305.2 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.3277, allocations: 19.92 kB / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3277, allocations: 3.938 kB / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.163e-05/0.3277, allocations: 11.98 kB / 0.7874 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.3279, allocations: 13.62 kB / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.3283, allocations: 110.7 kB / 0.7875 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.3285, allocations: 0.6811 MB / 0.7882 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001465/0.3287, allocations: 12 kB / 0.7882 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.3287, allocations: 19.42 kB / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.3287, allocations: 0 / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of Templates: time 0.004102/0.3328, allocations: 1.545 MB / 0.7897 GB, free: 6.461 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)