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/Buildings 8.1.1-maint.8.1.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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.667/1.667, allocations: 293 MB / 309 MB, free: 4.809 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 172.6 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.4 MB / 0.6383 GB, free: 8.219 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008642/0.0008642, allocations: 93.22 kB / 0.7527 GB, free: 62.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.000419, allocations: 12 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2783, allocations: 116.4 MB / 0.9905 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6917/0.9701, allocations: 140.9 MB / 1.128 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.9703, allocations: 96.58 kB / 1.128 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01056/0.9809, allocations: 4.81 MB / 1.133 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.525e-06/0.981, allocations: 0 / 1.133 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.981, allocations: 0 / 1.133 GB, free: 29.79 MB / 0.7292 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.0003619/0.9813, allocations: 377.8 kB / 1.133 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.9814, allocations: 8.031 kB / 1.133 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.9814, allocations: 9.719 kB / 1.133 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.387e-05/0.9815, allocations: 161 kB / 1.133 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.9816, allocations: 4.375 kB / 1.133 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.9816, allocations: 384 / 1.133 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.9817, allocations: 45.2 kB / 1.133 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.9817, allocations: 192 / 1.133 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.9817, allocations: 3.938 kB / 1.133 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.9817, allocations: 0 / 1.133 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.475e-05/0.9818, allocations: 4.562 kB / 1.133 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.9819, allocations: 166.3 kB / 1.134 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.591e-05/0.982, allocations: 34.12 kB / 1.134 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.982, allocations: 12.25 kB / 1.134 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.9821, allocations: 0 / 1.134 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.9821, allocations: 38.5 kB / 1.134 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.9821, allocations: 0.5625 kB / 1.134 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001534/0.9823, allocations: 68.58 kB / 1.134 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.9823, allocations: 51.41 kB / 1.134 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.269e-05/0.9823, allocations: 93.86 kB / 1.134 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.9824, allocations: 29.64 kB / 1.134 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.429e-05/0.9824, allocations: 80.14 kB / 1.134 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.9824, allocations: 8.547 kB / 1.134 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.9824, allocations: 4 kB / 1.134 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.286e-05/0.9825, allocations: 314.7 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.9825, allocations: 8 kB / 1.134 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.201e-05/0.9825, allocations: 4 kB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.9826, allocations: 24.47 kB / 1.134 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9826, allocations: 1.031 kB / 1.134 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.847e-05/0.9826, allocations: 61.52 kB / 1.134 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.9827, allocations: 12.56 kB / 1.134 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.9827, allocations: 0.5625 kB / 1.134 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.9827, allocations: 4 kB / 1.134 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.9827, allocations: 4.094 kB / 1.134 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.9827, allocations: 0 / 1.134 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.9827, allocations: 0.75 kB / 1.134 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.9828, allocations: 4 kB / 1.134 GB, free: 28.02 MB / 0.7292 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 5.019e-05/0.9828, allocations: 113.3 kB / 1.134 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.9828, allocations: 3.938 kB / 1.134 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.983, allocations: 69.64 kB / 1.135 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.983, allocations: 4 kB / 1.135 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.983, allocations: 7.969 kB / 1.135 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.983, allocations: 0 / 1.135 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.151e-05/0.9831, allocations: 154 kB / 1.135 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.9831, allocations: 0 / 1.135 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.9831, allocations: 0 / 1.135 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.9831, allocations: 7.938 kB / 1.135 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.9831, allocations: 5.438 kB / 1.135 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9831, allocations: 0.625 kB / 1.135 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9831, allocations: 1.391 kB / 1.135 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.818e-05/0.9832, allocations: 72.61 kB / 1.135 GB, free: 27.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.9832, allocations: 81.05 kB / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.9833, allocations: 4 kB / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.412e-05/0.9833, allocations: 8.234 kB / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.9833, allocations: 0 / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.9833, allocations: 4 kB / 1.135 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.328e-05/0.9834, allocations: 87.22 kB / 1.135 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9834, allocations: 0 / 1.135 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003326/0.9837, allocations: 72.38 kB / 1.135 GB, free: 27.27 MB / 0.7292 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.0007094/0.9844, allocations: 316.9 kB / 1.135 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.9846, allocations: 71.11 kB / 1.135 GB, free: 26.97 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9846, allocations: 3.938 kB / 1.135 GB, free: 26.97 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.939e-05/0.9846, allocations: 37.77 kB / 1.135 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.9848, allocations: 9.016 kB / 1.135 GB, free: 26.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.9853, allocations: 230.1 kB / 1.136 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.9855, allocations: 0.6731 MB / 1.136 GB, free: 26.03 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.509e-05/0.9855, allocations: 7.562 kB / 1.136 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.248e-05/0.9855, allocations: 7.438 kB / 1.136 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of SimCode: time 3.6e-07/0.9855, allocations: 8.062 kB / 1.136 GB, free: 26.01 MB / 0.7292 GB Notification: Performance of Templates: time 0.004645/0.9902, allocations: 1.686 MB / 1.138 GB, free: 25.03 MB / 0.7292 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)