Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.497/2.497, allocations: 287.5 MB / 303.2 MB, free: 8.227 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.001303/0.001302, allocations: 176.1 kB / 371.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0008593/0.0008592, allocations: 88.17 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006348/0.000635, allocations: 14.67 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2035, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8675/1.071, allocations: 139.4 MB / 1.115 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/1.071, allocations: 92.12 kB / 1.115 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01761/1.089, allocations: 4.658 MB / 1.12 GB, free: 31.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/1.089, allocations: 0 / 1.12 GB, free: 31.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.105e-06/1.089, allocations: 0 / 1.12 GB, free: 31.23 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.000459/1.09, allocations: 372.9 kB / 1.12 GB, free: 30.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.09, allocations: 14.58 kB / 1.12 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/1.09, allocations: 0.9375 kB / 1.12 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/1.09, allocations: 164 kB / 1.121 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/1.09, allocations: 4.375 kB / 1.121 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/1.09, allocations: 4.25 kB / 1.121 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/1.09, allocations: 44.3 kB / 1.121 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.09, allocations: 192 / 1.121 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/1.09, allocations: 3.938 kB / 1.121 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/1.09, allocations: 3.875 kB / 1.121 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.747e-05/1.09, allocations: 11.41 kB / 1.121 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/1.09, allocations: 153 kB / 1.121 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.699e-05/1.09, allocations: 32.91 kB / 1.121 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/1.091, allocations: 15.95 kB / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/1.091, allocations: 0 / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/1.091, allocations: 38.12 kB / 1.121 GB, free: 30.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/1.091, allocations: 3.844 kB / 1.121 GB, free: 30.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001972/1.091, allocations: 59.59 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/1.091, allocations: 58.78 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/1.091, allocations: 92.52 kB / 1.121 GB, free: 30.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/1.091, allocations: 25.7 kB / 1.121 GB, free: 30.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/1.091, allocations: 80.14 kB / 1.121 GB, free: 30.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/1.091, allocations: 4.562 kB / 1.121 GB, free: 30.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/1.091, allocations: 1.312 kB / 1.121 GB, free: 30.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.091, allocations: 313.9 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.015e-05/1.091, allocations: 5.25 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/1.091, allocations: 12.36 kB / 1.121 GB, free: 29.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.124e-05/1.091, allocations: 27.28 kB / 1.122 GB, free: 29.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.091, allocations: 3.938 kB / 1.122 GB, free: 29.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001175/1.091, allocations: 53.44 kB / 1.122 GB, free: 29.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.092, allocations: 13.44 kB / 1.122 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/1.092, allocations: 0 / 1.122 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/1.092, allocations: 3.844 kB / 1.122 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.414e-06/1.092, allocations: 2.625 kB / 1.122 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/1.092, allocations: 0 / 1.122 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/1.092, allocations: 4.094 kB / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/1.092, allocations: 3.812 kB / 1.122 GB, free: 29.64 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 8.519e-05/1.092, allocations: 109.8 kB / 1.122 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/1.092, allocations: 7.844 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/1.092, allocations: 72.12 kB / 1.122 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.092, allocations: 0 / 1.122 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.092, allocations: 0 / 1.122 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/1.092, allocations: 3.938 kB / 1.122 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/1.092, allocations: 158.9 kB / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/1.092, allocations: 3.844 kB / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/1.092, allocations: 0 / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.092, allocations: 3.938 kB / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/1.092, allocations: 0 / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.092, allocations: 3.984 kB / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.092, allocations: 4 kB / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/1.092, allocations: 70.39 kB / 1.122 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/1.092, allocations: 87.58 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/1.092, allocations: 0 / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.729e-05/1.093, allocations: 2.672 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/1.093, allocations: 7.844 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/1.093, allocations: 0 / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.915e-05/1.093, allocations: 89.02 kB / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.093, allocations: 0 / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004504/1.093, allocations: 75.73 kB / 1.122 GB, free: 28.99 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.0008427/1.094, allocations: 316.1 kB / 1.123 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001449/1.094, allocations: 71.2 kB / 1.123 GB, free: 28.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.094, allocations: 0 / 1.123 GB, free: 28.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.552e-05/1.094, allocations: 29.55 kB / 1.123 GB, free: 28.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/1.094, allocations: 10.64 kB / 1.123 GB, free: 28.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008124/1.095, allocations: 232.4 kB / 1.123 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/1.095, allocations: 0.6779 MB / 1.124 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.565e-05/1.096, allocations: 3.75 kB / 1.124 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/1.096, allocations: 7.438 kB / 1.124 GB, free: 27.92 MB / 0.698 GB Notification: Performance of SimCode: time 8.62e-07/1.096, allocations: 0 / 1.124 GB, free: 27.92 MB / 0.698 GB Notification: Performance of Templates: time 0.005248/1.101, allocations: 1.659 MB / 1.125 GB, free: 27.75 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)