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.67/1.67, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001573/0.001573, allocations: 184.8 kB / 361.4 MB, free: 6.809 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.616/1.616, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009224/0.0009225, allocations: 87.89 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.302e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7551/0.7552, allocations: 115.3 MB / 0.9644 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2131/0.9683, allocations: 138.8 MB / 1.1 GB, free: 1.051 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.9686, allocations: 91.39 kB / 1.1 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01195/0.9806, allocations: 4.327 MB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9807, allocations: 0.8438 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.9807, allocations: 0 / 1.104 GB, free: 12.68 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.0004228/0.9811, allocations: 371.1 kB / 1.105 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.9812, allocations: 8.688 kB / 1.105 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.9812, allocations: 10.47 kB / 1.105 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.9814, allocations: 163.5 kB / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.9814, allocations: 0.5625 kB / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.9814, allocations: 0.625 kB / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.098e-05/0.9815, allocations: 11.98 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.765e-05/0.9816, allocations: 38.53 kB / 1.105 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.9816, allocations: 2.344 kB / 1.105 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.9816, allocations: 0 / 1.105 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.9816, allocations: 0.625 kB / 1.105 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.9819, allocations: 138.7 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.192e-05/0.9819, allocations: 31.11 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.288e-05/0.982, allocations: 17.5 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.982, allocations: 4.625 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.982, allocations: 31.81 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.9821, allocations: 0 / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002319/0.9823, allocations: 54.16 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.9823, allocations: 55.28 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.4e-05/0.9824, allocations: 99.33 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.9825, allocations: 25.7 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.9825, allocations: 80.14 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.9825, allocations: 0 / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.9825, allocations: 0 / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.9827, allocations: 313.3 kB / 1.106 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.9827, allocations: 12 kB / 1.106 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.566e-05/0.9828, allocations: 11.92 kB / 1.106 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.975e-05/0.9828, allocations: 8 kB / 1.106 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.9828, allocations: 3.953 kB / 1.106 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001205/0.983, allocations: 61.8 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.983, allocations: 4 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.983, allocations: 5.078 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.983, allocations: 0 / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.753e-06/0.9831, allocations: 0 / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.9831, allocations: 0 / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.9831, allocations: 0 / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.9831, allocations: 7.984 kB / 1.106 GB, free: 10.97 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.562e-05/0.9832, allocations: 101 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.9832, allocations: 15.92 kB / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.9835, allocations: 72.09 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.9835, allocations: 0 / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.9835, allocations: 3.688 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.9835, allocations: 0 / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.9836, allocations: 138.2 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.9836, allocations: 4 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/0.9836, allocations: 0 / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.9837, allocations: 7.938 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.9837, allocations: 0 / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.9837, allocations: 4.031 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.9837, allocations: 0 / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.9838, allocations: 65.88 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.9839, allocations: 89 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.9839, allocations: 3.953 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.86e-05/0.984, allocations: 4 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.984, allocations: 0 / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.984, allocations: 4.031 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.9841, allocations: 87.2 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9841, allocations: 0 / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003545/0.9844, allocations: 78.86 kB / 1.106 GB, free: 10.22 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.0008874/0.9853, allocations: 314.4 kB / 1.107 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001768/0.9855, allocations: 67.41 kB / 1.107 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9855, allocations: 0 / 1.107 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.386e-05/0.9856, allocations: 33.69 kB / 1.107 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.9857, allocations: 4 kB / 1.107 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000614/0.9863, allocations: 184.9 kB / 1.107 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.9867, allocations: 0.6775 MB / 1.108 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.197e-05/0.9868, allocations: 4 kB / 1.108 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.9868, allocations: 7.438 kB / 1.108 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.9868, allocations: 0 / 1.108 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of Templates: time 0.004674/0.9915, allocations: 1.671 MB / 1.109 GB, free: 7.305 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)