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.648/1.648, allocations: 285.4 MB / 298 MB, free: 6.059 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.001153/0.001153, allocations: 180.8 kB / 366.4 MB, free: 2.109 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.786/1.786, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0009305/0.0009304, allocations: 98.59 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.82e-05/4.835e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8974/0.8974, allocations: 115.3 MB / 0.9709 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2106/1.108, allocations: 139.4 MB / 1.107 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/1.108, allocations: 91.92 kB / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01226/1.121, allocations: 4.435 MB / 1.111 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/1.121, allocations: 0 / 1.111 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.836e-06/1.121, allocations: 4 kB / 1.111 GB, free: 7.844 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.0005034/1.121, allocations: 371.1 kB / 1.112 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.121, allocations: 9.25 kB / 1.112 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/1.121, allocations: 0 / 1.112 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/1.122, allocations: 167 kB / 1.112 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/1.122, allocations: 5.938 kB / 1.112 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/1.122, allocations: 0.5625 kB / 1.112 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/1.122, allocations: 41.69 kB / 1.112 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/1.122, allocations: 0 / 1.112 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/1.122, allocations: 0.8125 kB / 1.112 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/1.122, allocations: 4 kB / 1.112 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.507e-05/1.122, allocations: 13.92 kB / 1.112 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002227/1.122, allocations: 164.3 kB / 1.112 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.103e-05/1.122, allocations: 22.58 kB / 1.112 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/1.122, allocations: 14.14 kB / 1.112 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/1.122, allocations: 3.984 kB / 1.112 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/1.122, allocations: 35.28 kB / 1.112 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/1.122, allocations: 4.531 kB / 1.112 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001767/1.123, allocations: 54.09 kB / 1.112 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/1.123, allocations: 51.97 kB / 1.112 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.798e-05/1.123, allocations: 86.44 kB / 1.112 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/1.123, allocations: 33.7 kB / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/1.123, allocations: 81.61 kB / 1.113 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/1.123, allocations: 0 / 1.113 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/1.123, allocations: 0 / 1.113 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.123, allocations: 318.8 kB / 1.113 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/1.123, allocations: 8.969 kB / 1.113 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.599e-05/1.123, allocations: 8 kB / 1.113 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/1.123, allocations: 9.172 kB / 1.113 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.123, allocations: 0 / 1.113 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.416e-05/1.123, allocations: 58.09 kB / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.123, allocations: 7.625 kB / 1.113 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/1.123, allocations: 4 kB / 1.113 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/1.123, allocations: 0 / 1.113 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/1.123, allocations: 0 / 1.113 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/1.123, allocations: 0 / 1.113 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/1.123, allocations: 3.938 kB / 1.113 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/1.123, allocations: 4 kB / 1.113 GB, free: 6.105 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 7.993e-05/1.123, allocations: 112.9 kB / 1.113 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/1.123, allocations: 6.844 kB / 1.113 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/1.123, allocations: 66.91 kB / 1.113 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.124, allocations: 4 kB / 1.113 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/1.124, allocations: 0 / 1.113 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.124, allocations: 0 / 1.113 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/1.124, allocations: 157.6 kB / 1.113 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.124, allocations: 0 / 1.113 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.21e-07/1.124, allocations: 4.281 kB / 1.113 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.124, allocations: 4 kB / 1.113 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/1.124, allocations: 0 / 1.113 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.124, allocations: 0 / 1.113 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.124, allocations: 0 / 1.113 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.693e-05/1.124, allocations: 65.12 kB / 1.113 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/1.124, allocations: 84.97 kB / 1.113 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/1.124, allocations: 7.984 kB / 1.113 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.872e-05/1.124, allocations: 6 kB / 1.114 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/1.124, allocations: 4 kB / 1.114 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/1.124, allocations: 4 kB / 1.114 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.813e-05/1.124, allocations: 83.27 kB / 1.114 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/1.124, allocations: 0 / 1.114 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004466/1.124, allocations: 75.84 kB / 1.114 GB, free: 5.332 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.0007925/1.125, allocations: 310.3 kB / 1.114 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001141/1.125, allocations: 75.39 kB / 1.114 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.125, allocations: 0 / 1.114 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.568e-05/1.125, allocations: 29.7 kB / 1.114 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/1.126, allocations: 0 / 1.114 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/1.126, allocations: 197 kB / 1.114 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/1.127, allocations: 0.677 MB / 1.115 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.622e-05/1.127, allocations: 7.984 kB / 1.115 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.077e-05/1.127, allocations: 7.438 kB / 1.115 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.127, allocations: 0 / 1.115 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of Templates: time 0.00415/1.131, allocations: 1.676 MB / 1.117 GB, free: 2.398 MB / 0.7136 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)