Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.3 MB / 405.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 192.3 kB / 498.1 MB, free: 5.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009646/0.0009643, allocations: 109.1 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003878, allocations: 10.41 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3242, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.5272, allocations: 151.2 MB / 1.371 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004137/0.5277, allocations: 95.92 kB / 1.371 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01374/0.5415, allocations: 4.797 MB / 1.375 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.355e-06/0.5415, allocations: 0 / 1.375 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.5415, allocations: 0 / 1.375 GB, free: 5.914 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004333/0.542, allocations: 371.3 kB / 1.376 GB, free: 5.504 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.542, allocations: 8.031 kB / 1.376 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.641e-05/0.5421, allocations: 87.23 kB / 1.376 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.5423, allocations: 242.3 kB / 1.376 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.5424, allocations: 150.6 kB / 1.376 GB, free: 4.984 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.5425, allocations: 154.6 kB / 1.376 GB, free: 4.832 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.75e-05/0.5425, allocations: 112.9 kB / 1.376 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/0.5426, allocations: 79.27 kB / 1.376 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-05/0.5427, allocations: 154.6 kB / 1.377 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.521e-05/0.5427, allocations: 150.6 kB / 1.377 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.551e-05/0.5428, allocations: 150.6 kB / 1.377 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.5431, allocations: 453.9 kB / 1.377 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.602e-05/0.5432, allocations: 177.1 kB / 1.377 GB, free: 3.512 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.5433, allocations: 79.28 kB / 1.378 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.5433, allocations: 105.8 kB / 1.378 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.5433, allocations: 0 / 1.378 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.822e-05/0.5434, allocations: 25.7 kB / 1.378 GB, free: 3.289 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.5435, allocations: 126.7 kB / 1.378 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.5436, allocations: 105 kB / 1.378 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.5436, allocations: 25.7 kB / 1.378 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.5437, allocations: 80.14 kB / 1.378 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-06/0.5437, allocations: 0 / 1.378 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.5437, allocations: 7.875 kB / 1.378 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5438, allocations: 322.8 kB / 1.378 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/0.5439, allocations: 11.92 kB / 1.378 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.52e-05/0.5439, allocations: 8 kB / 1.378 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.5439, allocations: 8.094 kB / 1.378 GB, free: 2.57 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5439, allocations: 0 / 1.378 GB, free: 2.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001297/0.5441, allocations: 53.67 kB / 1.378 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5441, allocations: 8 kB / 1.378 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.5441, allocations: 0 / 1.378 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5441, allocations: 0 / 1.378 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.5441, allocations: 4 kB / 1.378 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.5442, allocations: 0 / 1.378 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/0.5442, allocations: 3.938 kB / 1.378 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.5443, allocations: 4 kB / 1.378 GB, free: 2.492 MB / 0.8698 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 0.000124/0.5444, allocations: 201.1 kB / 1.379 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.5445, allocations: 108.8 kB / 1.379 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.801e-05/0.5445, allocations: 104.1 kB / 1.379 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.195e-05/0.5446, allocations: 180.2 kB / 1.379 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.563e-05/0.5447, allocations: 180.3 kB / 1.379 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.489e-05/0.5448, allocations: 184.2 kB / 1.379 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.545, allocations: 413.1 kB / 1.38 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.7e-05/0.5451, allocations: 105 kB / 1.38 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.5452, allocations: 104.9 kB / 1.38 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.637e-05/0.5452, allocations: 176.3 kB / 1.38 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.096e-05/0.5453, allocations: 184.3 kB / 1.38 GB, free: 476 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.834e-05/0.5454, allocations: 188.2 kB / 1.38 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.051e-05/0.5455, allocations: 176.3 kB / 1.381 GB, free: 96 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.5457, allocations: 311.7 kB / 1.381 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.5458, allocations: 182 kB / 1.381 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.736e-05/0.5459, allocations: 188.2 kB / 1.381 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.546, allocations: 101 kB / 1.381 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/0.5461, allocations: 181 kB / 1.382 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.5461, allocations: 101 kB / 1.382 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.391e-05/0.5462, allocations: 87.27 kB / 1.382 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5462, allocations: 0 / 1.382 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004065/0.5466, allocations: 75.91 kB / 1.382 GB, free: 14.82 MB / 0.8855 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0007907/0.5474, allocations: 410.3 kB / 1.382 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.5476, allocations: 67.33 kB / 1.382 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.5476, allocations: 8.062 kB / 1.382 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.5476, allocations: 0 / 1.382 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.5479, allocations: 0.5185 MB / 1.383 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.5482, allocations: 165.9 kB / 1.383 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.5485, allocations: 0.6809 MB / 1.384 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.987e-05/0.5486, allocations: 7.984 kB / 1.384 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.393e-05/0.5486, allocations: 7.438 kB / 1.384 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of SimCode: time 2.01e-07/0.5486, allocations: 0 / 1.384 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of Templates: time 0.004557/0.5532, allocations: 1.531 MB / 1.385 GB, free: 11.45 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)