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.603/1.603, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.001057/0.001057, allocations: 180.8 kB / 366.7 MB, free: 1.676 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.532/1.532, allocations: 205.3 MB / 0.626 GB, free: 7.168 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.0008507/0.0008507, allocations: 90.3 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.733e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6414/0.6415, allocations: 116.3 MB / 0.9733 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1869/0.8285, allocations: 139.8 MB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.8288, allocations: 88.53 kB / 1.11 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01156/0.8403, allocations: 4.333 MB / 1.114 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8404, allocations: 0 / 1.114 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.8404, allocations: 0 / 1.114 GB, free: 6.047 MB / 0.7136 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.0003803/0.8408, allocations: 369.4 kB / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.8408, allocations: 12.03 kB / 1.114 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.8409, allocations: 0.5 kB / 1.114 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.841, allocations: 171.4 kB / 1.115 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.8411, allocations: 0 / 1.115 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.8411, allocations: 4.562 kB / 1.115 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.046e-05/0.8412, allocations: 8.484 kB / 1.115 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.101e-05/0.8412, allocations: 38.34 kB / 1.115 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.8413, allocations: 0.5938 kB / 1.115 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.8413, allocations: 0 / 1.115 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.8413, allocations: 0.75 kB / 1.115 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.8415, allocations: 143.1 kB / 1.115 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.875e-05/0.8416, allocations: 24.7 kB / 1.115 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.357e-05/0.8416, allocations: 12.91 kB / 1.115 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.8416, allocations: 12.66 kB / 1.115 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.8417, allocations: 31.72 kB / 1.115 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8417, allocations: 0 / 1.115 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002113/0.8419, allocations: 56.62 kB / 1.115 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.8419, allocations: 51.41 kB / 1.115 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.772e-05/0.842, allocations: 96.98 kB / 1.115 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.842, allocations: 25.7 kB / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.8421, allocations: 80.14 kB / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.8421, allocations: 0.7812 kB / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/0.8421, allocations: 0 / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.8422, allocations: 317.6 kB / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.8422, allocations: 7 kB / 1.115 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.8423, allocations: 7.984 kB / 1.115 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.8423, allocations: 12 kB / 1.115 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8423, allocations: 3.953 kB / 1.115 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001009/0.8424, allocations: 64.48 kB / 1.116 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.8425, allocations: 4 kB / 1.116 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.8425, allocations: 4 kB / 1.116 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.8425, allocations: 0 / 1.116 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.8425, allocations: 0 / 1.116 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.8425, allocations: 4 kB / 1.116 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.8425, allocations: 0 / 1.116 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.8426, allocations: 3.984 kB / 1.116 GB, free: 4.336 MB / 0.7136 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 () * 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 6.512e-05/0.8426, allocations: 108.4 kB / 1.116 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.8427, allocations: 3.953 kB / 1.116 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.8428, allocations: 71.55 kB / 1.116 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.8428, allocations: 3.984 kB / 1.116 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.8428, allocations: 3.938 kB / 1.116 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.8428, allocations: 0 / 1.116 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.729e-05/0.8429, allocations: 138.2 kB / 1.116 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.843, allocations: 4.281 kB / 1.116 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.843, allocations: 0 / 1.116 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.843, allocations: 3.953 kB / 1.116 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.843, allocations: 0 / 1.116 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.843, allocations: 6.75 kB / 1.116 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.843, allocations: 0 / 1.116 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.562e-05/0.8431, allocations: 61.12 kB / 1.116 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.8432, allocations: 85 kB / 1.116 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.8432, allocations: 11.98 kB / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.481e-05/0.8432, allocations: 0 / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.8432, allocations: 4 kB / 1.116 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.8433, allocations: 4 kB / 1.116 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.544e-05/0.8433, allocations: 83.27 kB / 1.116 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8433, allocations: 1.781 kB / 1.116 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002862/0.8436, allocations: 79.84 kB / 1.116 GB, free: 3.594 MB / 0.7136 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 () * 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.0006533/0.8443, allocations: 302.7 kB / 1.116 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.882e-05/0.8444, allocations: 67.41 kB / 1.117 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8444, allocations: 3.469 kB / 1.117 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.28e-05/0.8444, allocations: 37.75 kB / 1.117 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001035/0.8445, allocations: 4 kB / 1.117 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.8451, allocations: 187.7 kB / 1.117 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.8453, allocations: 0.6775 MB / 1.117 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.512e-05/0.8454, allocations: 4 kB / 1.117 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.242e-05/0.8454, allocations: 11.42 kB / 1.117 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.8454, allocations: 0 / 1.117 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of Templates: time 0.003908/0.8493, allocations: 1.668 MB / 1.119 GB, free: 0.6914 MB / 0.7136 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)