Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.59/1.59, allocations: 288.4 MB / 304.3 MB, free: 8.184 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.001457/0.001457, allocations: 179 kB / 372.9 MB, free: 10.15 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.385/1.385, allocations: 205.4 MB / 0.6317 GB, free: 9.875 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007866/0.0007866, allocations: 100.1 kB / 0.745 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 14.83 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2209, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7132/0.9342, allocations: 139.5 MB / 1.117 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.9345, allocations: 89.72 kB / 1.117 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01119/0.9457, allocations: 4.658 MB / 1.122 GB, free: 32.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9458, allocations: 0 / 1.122 GB, free: 32.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.9458, allocations: 0 / 1.122 GB, free: 32.09 MB / 0.698 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.0004179/0.9462, allocations: 378.8 kB / 1.122 GB, free: 31.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.9463, allocations: 7.688 kB / 1.122 GB, free: 31.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.9463, allocations: 0.9375 kB / 1.122 GB, free: 31.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.9464, allocations: 174.6 kB / 1.122 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.9465, allocations: 4.375 kB / 1.122 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.9465, allocations: 4.375 kB / 1.122 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.9466, allocations: 39.81 kB / 1.122 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.9467, allocations: 4.094 kB / 1.122 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.9467, allocations: 3.938 kB / 1.122 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.9467, allocations: 0 / 1.122 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.9467, allocations: 7.844 kB / 1.122 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.9469, allocations: 163.4 kB / 1.122 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.967e-05/0.947, allocations: 36.81 kB / 1.122 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.947, allocations: 8.828 kB / 1.122 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.947, allocations: 3.75 kB / 1.122 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.9471, allocations: 41.39 kB / 1.122 GB, free: 31.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.9471, allocations: 0 / 1.122 GB, free: 31.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001662/0.9472, allocations: 59.42 kB / 1.123 GB, free: 31.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.9473, allocations: 54.5 kB / 1.123 GB, free: 31.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.424e-05/0.9474, allocations: 100.9 kB / 1.123 GB, free: 30.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.9474, allocations: 25.7 kB / 1.123 GB, free: 30.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.9474, allocations: 80.14 kB / 1.123 GB, free: 30.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.9475, allocations: 3.844 kB / 1.123 GB, free: 30.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-06/0.9475, allocations: 0 / 1.123 GB, free: 30.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.9476, allocations: 317 kB / 1.123 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.9476, allocations: 3.844 kB / 1.123 GB, free: 30.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.421e-05/0.9476, allocations: 10.48 kB / 1.123 GB, free: 30.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/0.9477, allocations: 27.2 kB / 1.123 GB, free: 30.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9477, allocations: 0 / 1.123 GB, free: 30.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.667e-05/0.9478, allocations: 51.38 kB / 1.123 GB, free: 30.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.9478, allocations: 7.719 kB / 1.123 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.9478, allocations: 6.594 kB / 1.123 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.9478, allocations: 0 / 1.123 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.9478, allocations: 0 / 1.123 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.9478, allocations: 0 / 1.123 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.9479, allocations: 6.906 kB / 1.123 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.9479, allocations: 4.031 kB / 1.123 GB, free: 30.5 MB / 0.698 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.109e-05/0.948, allocations: 116.4 kB / 1.123 GB, free: 30.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.948, allocations: 3.938 kB / 1.123 GB, free: 30.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.9481, allocations: 75.48 kB / 1.123 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.9481, allocations: 3.938 kB / 1.123 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9481, allocations: 3.906 kB / 1.123 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.9482, allocations: 0 / 1.123 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.995e-05/0.9482, allocations: 147.9 kB / 1.124 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.9483, allocations: 6.516 kB / 1.124 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.9483, allocations: 0 / 1.124 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.9483, allocations: 7.75 kB / 1.124 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.9483, allocations: 0 / 1.124 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.9483, allocations: 0 / 1.124 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9483, allocations: 3.984 kB / 1.124 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.163e-05/0.9484, allocations: 69.66 kB / 1.124 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.9484, allocations: 87.77 kB / 1.124 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.9484, allocations: 4.031 kB / 1.124 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.602e-05/0.9485, allocations: 6.844 kB / 1.124 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.9485, allocations: 0 / 1.124 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.9485, allocations: 7.781 kB / 1.124 GB, free: 29.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.767e-05/0.9486, allocations: 82 kB / 1.124 GB, free: 29.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9486, allocations: 0 / 1.124 GB, free: 29.87 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003327/0.9489, allocations: 80.28 kB / 1.124 GB, free: 29.84 MB / 0.698 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.0006111/0.9495, allocations: 315 kB / 1.124 GB, free: 29.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.9497, allocations: 65.86 kB / 1.124 GB, free: 29.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9497, allocations: 3.75 kB / 1.124 GB, free: 29.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.259e-05/0.9497, allocations: 32.81 kB / 1.124 GB, free: 29.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.9498, allocations: 5.5 kB / 1.124 GB, free: 29.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.9504, allocations: 235.7 kB / 1.124 GB, free: 29.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.9507, allocations: 0.6769 MB / 1.125 GB, free: 28.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.691e-05/0.9507, allocations: 6.812 kB / 1.125 GB, free: 28.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.422e-05/0.9508, allocations: 11.38 kB / 1.125 GB, free: 28.77 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.9508, allocations: 0 / 1.125 GB, free: 28.77 MB / 0.698 GB Notification: Performance of Templates: time 0.003651/0.9544, allocations: 1.671 MB / 1.127 GB, free: 28.62 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)