Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.281/1.281, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008854/0.0008854, allocations: 171.9 kB / 327.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 0.5785 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008359/0.000836, allocations: 88.7 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003997, allocations: 13.16 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.193, allocations: 106.3 MB / 0.9012 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.3507, allocations: 133.2 MB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.351, allocations: 91.92 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0121/0.3631, allocations: 4.671 MB / 1.036 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3632, allocations: 0 / 1.036 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.3632, allocations: 4 kB / 1.036 GB, free: 5.441 MB / 0.6823 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.0003968/0.3636, allocations: 377.8 kB / 1.036 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3637, allocations: 12.02 kB / 1.036 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.3637, allocations: 0.9375 kB / 1.036 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.3639, allocations: 164.4 kB / 1.037 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.3639, allocations: 384 / 1.037 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.3639, allocations: 384 / 1.037 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.364, allocations: 46.25 kB / 1.037 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.364, allocations: 8.062 kB / 1.037 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3641, allocations: 3.938 kB / 1.037 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3641, allocations: 4 kB / 1.037 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.09e-05/0.3641, allocations: 7.984 kB / 1.037 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.3643, allocations: 157.7 kB / 1.037 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.041e-05/0.3644, allocations: 22.58 kB / 1.037 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.556e-05/0.3644, allocations: 20.91 kB / 1.037 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.3645, allocations: 4 kB / 1.037 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.3645, allocations: 38.44 kB / 1.037 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3645, allocations: 0 / 1.037 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001876/0.3647, allocations: 61.62 kB / 1.037 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.3647, allocations: 55.39 kB / 1.037 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.923e-05/0.3648, allocations: 90.08 kB / 1.037 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.3649, allocations: 33.73 kB / 1.037 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.3649, allocations: 80.14 kB / 1.037 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.3649, allocations: 7.906 kB / 1.037 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.365, allocations: 0 / 1.037 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3651, allocations: 310.8 kB / 1.037 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.3651, allocations: 11.98 kB / 1.037 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.3651, allocations: 4 kB / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.81e-05/0.3652, allocations: 28.78 kB / 1.037 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3652, allocations: 4.062 kB / 1.037 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.766e-05/0.3653, allocations: 45.69 kB / 1.038 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3653, allocations: 7.938 kB / 1.038 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.3653, allocations: 8 kB / 1.038 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3654, allocations: 0 / 1.038 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.3654, allocations: 0 / 1.038 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.3654, allocations: 0 / 1.038 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.3654, allocations: 3.984 kB / 1.038 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.3654, allocations: 8 kB / 1.038 GB, free: 3.629 MB / 0.6823 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.332e-05/0.3655, allocations: 113.9 kB / 1.038 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.3655, allocations: 3.938 kB / 1.038 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.3657, allocations: 73.5 kB / 1.038 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3657, allocations: 0 / 1.038 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3657, allocations: 0 / 1.038 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3657, allocations: 0 / 1.038 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.3658, allocations: 161.6 kB / 1.038 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3659, allocations: 0 / 1.038 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.3659, allocations: 0 / 1.038 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3659, allocations: 7.969 kB / 1.038 GB, free: 3.211 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.3659, allocations: 0 / 1.038 GB, free: 3.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3659, allocations: 4 kB / 1.038 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3659, allocations: 0 / 1.038 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.187e-05/0.366, allocations: 69.06 kB / 1.038 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.366, allocations: 85.03 kB / 1.038 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.3661, allocations: 0 / 1.038 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.483e-05/0.3661, allocations: 4.031 kB / 1.038 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.3661, allocations: 4 kB / 1.038 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.3661, allocations: 0 / 1.038 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.932e-05/0.3662, allocations: 87.25 kB / 1.038 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3662, allocations: 3.938 kB / 1.038 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003087/0.3665, allocations: 79.84 kB / 1.038 GB, free: 2.844 MB / 0.6823 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.0007/0.3672, allocations: 310.8 kB / 1.039 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.3673, allocations: 67.39 kB / 1.039 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3674, allocations: 0 / 1.039 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.3674, allocations: 29.7 kB / 1.039 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.3675, allocations: 11.05 kB / 1.039 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006021/0.3681, allocations: 230.8 kB / 1.039 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.3684, allocations: 0.6809 MB / 1.04 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.081e-05/0.3684, allocations: 7.984 kB / 1.04 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.18e-05/0.3685, allocations: 7.438 kB / 1.04 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3685, allocations: 0 / 1.04 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of Templates: time 0.003948/0.3724, allocations: 1.674 MB / 1.041 GB, free: 15.86 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)