Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") 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.6 MB / 307.5 MB, free: 5.234 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.001104/0.001104, allocations: 175.9 kB / 377.1 MB, free: 1.539 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.629/1.629, allocations: 205.4 MB / 0.6367 GB, free: 8.535 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.0008376/0.0008375, allocations: 92.73 kB / 0.751 GB, free: 63.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004115, allocations: 12 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2882, allocations: 116.3 MB / 0.9884 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7537/1.042, allocations: 140.5 MB / 1.126 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/1.042, allocations: 93.22 kB / 1.126 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01117/1.054, allocations: 4.628 MB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.743e-06/1.054, allocations: 0.8438 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.272e-05/1.054, allocations: 4 kB / 1.13 GB, free: 30.96 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.0003449/1.054, allocations: 378.3 kB / 1.131 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.054, allocations: 12.02 kB / 1.131 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/1.054, allocations: 2.844 kB / 1.131 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.301e-05/1.054, allocations: 163.1 kB / 1.131 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/1.054, allocations: 3.438 kB / 1.131 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/1.054, allocations: 3.938 kB / 1.131 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/1.054, allocations: 45.36 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.054, allocations: 3 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/1.054, allocations: 4 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.054, allocations: 4 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.463e-05/1.054, allocations: 7.938 kB / 1.131 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/1.055, allocations: 161.6 kB / 1.131 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.331e-05/1.055, allocations: 22.58 kB / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/1.055, allocations: 4.062 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.055, allocations: 41.11 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/1.055, allocations: 4.656 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001543/1.055, allocations: 53.64 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/1.055, allocations: 51.41 kB / 1.131 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.965e-05/1.055, allocations: 100.3 kB / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/1.055, allocations: 25.7 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.407e-05/1.055, allocations: 80.14 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/1.055, allocations: 4 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/1.055, allocations: 1.375 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.258e-05/1.055, allocations: 322.8 kB / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/1.055, allocations: 7.609 kB / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.139e-05/1.055, allocations: 4 kB / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.172e-05/1.055, allocations: 11.56 kB / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.055, allocations: 0 / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.559e-05/1.055, allocations: 52.98 kB / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.055, allocations: 10.44 kB / 1.132 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.055, allocations: 4 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/1.055, allocations: 4.094 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/1.055, allocations: 0 / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.055, allocations: 5.016 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/1.055, allocations: 1.656 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/1.055, allocations: 3.469 kB / 1.132 GB, free: 29.25 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.097e-05/1.055, allocations: 113.8 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/1.055, allocations: 0 / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/1.056, allocations: 69.45 kB / 1.132 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.056, allocations: 4.031 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.056, allocations: 0 / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/1.056, allocations: 4.438 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.946e-05/1.056, allocations: 160.4 kB / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.056, allocations: 0 / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-06/1.056, allocations: 0.6875 kB / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.056, allocations: 0.6562 kB / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/1.056, allocations: 3.938 kB / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.056, allocations: 4 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/1.056, allocations: 2.109 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.393e-05/1.056, allocations: 69.09 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/1.056, allocations: 88.48 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/1.056, allocations: 0 / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.619e-05/1.056, allocations: 5.125 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/1.056, allocations: 0 / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/1.056, allocations: 0.5 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.861e-05/1.056, allocations: 86.66 kB / 1.132 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.056, allocations: 4.031 kB / 1.132 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002774/1.056, allocations: 83.33 kB / 1.132 GB, free: 28.49 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.0006293/1.057, allocations: 312 kB / 1.133 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.822e-05/1.057, allocations: 74.72 kB / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.057, allocations: 64 / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.926e-05/1.057, allocations: 37.12 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.853e-05/1.057, allocations: 4 kB / 1.133 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/1.058, allocations: 220.2 kB / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/1.058, allocations: 0.6766 MB / 1.134 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.418e-05/1.058, allocations: 11.41 kB / 1.134 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.125e-05/1.058, allocations: 11.5 kB / 1.134 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/1.058, allocations: 4 kB / 1.134 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.003842/1.062, allocations: 1.646 MB / 1.135 GB, free: 26.29 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)