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.001726/0.001726, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.525/1.525, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.747/1.747, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001553/0.001554, allocations: 67.81 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2896, allocations: 114.5 MB / 0.7834 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.002117/0.2918, allocations: 0.5448 MB / 0.7839 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.2934, allocations: 1.125 MB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.2935, allocations: 0 / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.2936, allocations: 15.92 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-05/0.2937, allocations: 0 / 0.785 GB, free: 11.73 MB / 0.6075 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.0005712/0.2942, allocations: 163.5 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.4e-05/0.2943, allocations: 15.92 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.2944, allocations: 4 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.359e-05/0.2944, allocations: 15.91 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.2945, allocations: 8 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.2945, allocations: 4 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.2949, allocations: 175.7 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.2949, allocations: 7.984 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.2949, allocations: 7.875 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.2952, allocations: 191.7 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2953, allocations: 0 / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2953, allocations: 0 / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2953, allocations: 4 kB / 0.7856 GB, free: 11.15 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.0004171/0.2957, allocations: 362.1 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2957, allocations: 8.031 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.2958, allocations: 8.875 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.2959, allocations: 172.2 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.296, allocations: 384 / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.296, allocations: 384 / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.2961, allocations: 49.8 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2961, allocations: 7.984 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.2961, allocations: 0 / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.2962, allocations: 0 / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.747e-05/0.2962, allocations: 8 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.2964, allocations: 154 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.094e-05/0.2965, allocations: 38.53 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.2965, allocations: 8.922 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.2965, allocations: 0 / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.2966, allocations: 38.5 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2966, allocations: 0 / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001847/0.2967, allocations: 65.61 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.2968, allocations: 51.41 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.647e-05/0.2969, allocations: 97.8 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.2969, allocations: 29.7 kB / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/0.2969, allocations: 80.39 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.297, allocations: 15.83 kB / 0.7867 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.297, allocations: 13.72 kB / 0.7868 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2971, allocations: 310.8 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.2972, allocations: 11.98 kB / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.615e-05/0.2972, allocations: 8 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.705e-05/0.2972, allocations: 24.84 kB / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.2972, allocations: 0 / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.037e-05/0.2973, allocations: 61.67 kB / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2973, allocations: 8 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2974, allocations: 0 / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2974, allocations: 0 / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.2974, allocations: 0 / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2974, allocations: 3.938 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/0.2974, allocations: 0 / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.2974, allocations: 4 kB / 0.7872 GB, free: 9.32 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.185e-05/0.2975, allocations: 109.8 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.2976, allocations: 15.91 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.328e-05/0.2976, allocations: 3.125 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.2976, allocations: 0 / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2976, allocations: 4 kB / 0.7873 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2976, allocations: 0 / 0.7873 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.2977, allocations: 149.7 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2977, allocations: 0 / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-06/0.2977, allocations: 3.938 kB / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.2977, allocations: 0 / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.2978, allocations: 4 kB / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2978, allocations: 3.984 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2978, allocations: 4 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.2979, allocations: 73.03 kB / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.2979, allocations: 85.05 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.298, allocations: 0 / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.298, allocations: 3.938 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.2981, allocations: 11.97 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.2981, allocations: 0 / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.583e-05/0.2981, allocations: 87.31 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2981, allocations: 0 / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002794/0.2984, allocations: 63.97 kB / 0.7878 GB, free: 8.609 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.0006357/0.299, allocations: 303.7 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.2992, allocations: 23.98 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2992, allocations: 0 / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.2992, allocations: 8 kB / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.2994, allocations: 6.844 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.2997, allocations: 104.8 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.2999, allocations: 0.6768 MB / 0.7888 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001423/0.3001, allocations: 16.12 kB / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.3002, allocations: 23.42 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.3002, allocations: 0 / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of Templates: time 0.004135/0.3043, allocations: 1.557 MB / 0.7904 GB, free: 5.934 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)