Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 188.5 kB / 327.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 0.5785 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008856/0.0008857, allocations: 96.81 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004161, allocations: 11.5 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2298, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.3922, allocations: 133.5 MB / 1.032 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.3925, allocations: 91.94 kB / 1.032 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0125/0.4051, allocations: 4.819 MB / 1.036 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4051, allocations: 4 kB / 1.036 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.525e-06/0.4051, allocations: 0 / 1.036 GB, free: 5.047 MB / 0.6823 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.0004236/0.4056, allocations: 379.3 kB / 1.037 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4056, allocations: 12.03 kB / 1.037 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.4057, allocations: 0.9375 kB / 1.037 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.4058, allocations: 160.4 kB / 1.037 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.4058, allocations: 384 / 1.037 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.4058, allocations: 4.375 kB / 1.037 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.406, allocations: 54.17 kB / 1.037 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.406, allocations: 192 / 1.037 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.406, allocations: 3.938 kB / 1.037 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.406, allocations: 3.984 kB / 1.037 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.661e-05/0.406, allocations: 4 kB / 1.037 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.4062, allocations: 161.7 kB / 1.037 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.329e-05/0.4063, allocations: 30.59 kB / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.4063, allocations: 8.922 kB / 1.037 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.4064, allocations: 8 kB / 1.037 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.4064, allocations: 42.44 kB / 1.037 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.4064, allocations: 0 / 1.037 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001725/0.4066, allocations: 53.67 kB / 1.037 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.4066, allocations: 51.41 kB / 1.037 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.266e-05/0.4067, allocations: 97.86 kB / 1.037 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.4068, allocations: 25.95 kB / 1.037 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.4068, allocations: 84.14 kB / 1.038 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.4068, allocations: 11.89 kB / 1.038 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.4068, allocations: 0 / 1.038 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4069, allocations: 318.8 kB / 1.038 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.407, allocations: 4 kB / 1.038 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.764e-05/0.407, allocations: 11.92 kB / 1.038 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/0.407, allocations: 16.86 kB / 1.038 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4071, allocations: 0 / 1.038 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.639e-05/0.4072, allocations: 57.75 kB / 1.038 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4072, allocations: 11.88 kB / 1.038 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.4072, allocations: 7.984 kB / 1.038 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.4072, allocations: 0 / 1.038 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.4072, allocations: 0 / 1.038 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4072, allocations: 0 / 1.038 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.4072, allocations: 0 / 1.038 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.4073, allocations: 4 kB / 1.038 GB, free: 3.23 MB / 0.6823 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: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.506e-05/0.4074, allocations: 105.9 kB / 1.038 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.4074, allocations: 15.94 kB / 1.038 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.4075, allocations: 73.44 kB / 1.038 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4076, allocations: 4 kB / 1.038 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4076, allocations: 0 / 1.038 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4076, allocations: 4 kB / 1.038 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.4077, allocations: 149.7 kB / 1.038 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4077, allocations: 3.984 kB / 1.038 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.4077, allocations: 4 kB / 1.038 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.4077, allocations: 3.938 kB / 1.038 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.4077, allocations: 4.031 kB / 1.038 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4078, allocations: 0 / 1.038 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4078, allocations: 0 / 1.038 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.531e-05/0.4078, allocations: 69.06 kB / 1.038 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.4079, allocations: 81.05 kB / 1.038 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.4079, allocations: 4 kB / 1.038 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.749e-05/0.408, allocations: 7.984 kB / 1.039 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.408, allocations: 4.031 kB / 1.039 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.408, allocations: 4 kB / 1.039 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.55e-05/0.4081, allocations: 79.28 kB / 1.039 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4081, allocations: 0 / 1.039 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003077/0.4084, allocations: 71.91 kB / 1.039 GB, free: 2.453 MB / 0.6823 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006794/0.4091, allocations: 326.2 kB / 1.039 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.4092, allocations: 75.39 kB / 1.039 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4092, allocations: 0 / 1.039 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.552e-05/0.4093, allocations: 33.64 kB / 1.039 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.4094, allocations: 11.03 kB / 1.039 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005767/0.41, allocations: 234.7 kB / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.4103, allocations: 0.6811 MB / 1.04 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.445e-05/0.4104, allocations: 4 kB / 1.04 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.282e-05/0.4104, allocations: 11.44 kB / 1.04 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.4104, allocations: 0 / 1.04 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of Templates: time 0.00409/0.4145, allocations: 1.688 MB / 1.042 GB, free: 15.42 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)