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="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yR2.1.",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="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yR2.1.",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.378/1.378, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001053/0.001053, allocations: 185.1 kB / 326.5 MB, free: 2.215 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.484/1.484, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0008325/0.0008322, allocations: 99.97 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 8.656 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1723, allocations: 106.3 MB / 0.9001 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.3276, allocations: 133.2 MB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.3279, allocations: 91.94 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01119/0.3391, allocations: 4.643 MB / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3391, allocations: 4 kB / 1.035 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3392, allocations: 0 / 1.035 GB, free: 6.113 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.000306/0.3395, allocations: 375.2 kB / 1.035 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3395, allocations: 12.03 kB / 1.035 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.3395, allocations: 0 / 1.035 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.3397, allocations: 171 kB / 1.035 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3397, allocations: 0 / 1.035 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.3397, allocations: 0 / 1.035 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.3398, allocations: 41.69 kB / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.3398, allocations: 0 / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3398, allocations: 4 kB / 1.035 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3399, allocations: 0 / 1.035 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.675e-05/0.3399, allocations: 15.92 kB / 1.035 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.3401, allocations: 165.6 kB / 1.036 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.369e-05/0.3401, allocations: 26.52 kB / 1.036 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.3402, allocations: 4.062 kB / 1.036 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.3402, allocations: 34.56 kB / 1.036 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3402, allocations: 0 / 1.036 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001463/0.3403, allocations: 61.61 kB / 1.036 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.3404, allocations: 51.41 kB / 1.036 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.474e-05/0.3404, allocations: 93 kB / 1.036 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3405, allocations: 25.7 kB / 1.036 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.657e-05/0.3405, allocations: 80.14 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.3405, allocations: 7.906 kB / 1.036 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.3405, allocations: 0 / 1.036 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.3406, allocations: 323 kB / 1.036 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.3407, allocations: 8 kB / 1.036 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.3407, allocations: 8 kB / 1.036 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.451e-05/0.3407, allocations: 7.984 kB / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3407, allocations: 0 / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.639e-05/0.3408, allocations: 53.62 kB / 1.036 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3408, allocations: 10.5 kB / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3408, allocations: 0 / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.3408, allocations: 0 / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.3409, allocations: 0 / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3409, allocations: 8.094 kB / 1.036 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.501e-05/0.3409, allocations: 3.984 kB / 1.036 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.3409, allocations: 3.984 kB / 1.036 GB, free: 4.344 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 6.844e-05/0.341, allocations: 115.5 kB / 1.036 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.341, allocations: 3.906 kB / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.3411, allocations: 69.66 kB / 1.037 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3412, allocations: 3.938 kB / 1.037 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3412, allocations: 0 / 1.037 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3412, allocations: 8.031 kB / 1.037 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.3413, allocations: 161.6 kB / 1.037 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3413, allocations: 0 / 1.037 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3413, allocations: 0 / 1.037 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3413, allocations: 0 / 1.037 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.3413, allocations: 4 kB / 1.037 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3413, allocations: 0 / 1.037 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3413, allocations: 3.938 kB / 1.037 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.63e-05/0.3414, allocations: 73.08 kB / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.3415, allocations: 81.09 kB / 1.037 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.3415, allocations: 0 / 1.037 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.8e-05/0.3415, allocations: 4 kB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-06/0.3415, allocations: 0 / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.3416, allocations: 0 / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.584e-05/0.3416, allocations: 87.27 kB / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3416, allocations: 0 / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002678/0.3419, allocations: 79.84 kB / 1.037 GB, free: 3.562 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.00059/0.3425, allocations: 319.1 kB / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.3426, allocations: 71.39 kB / 1.037 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3426, allocations: 0 / 1.037 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.3426, allocations: 29.7 kB / 1.037 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.444e-05/0.3427, allocations: 10.16 kB / 1.037 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.3433, allocations: 228.9 kB / 1.038 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.3435, allocations: 0.677 MB / 1.038 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.215e-05/0.3435, allocations: 7.984 kB / 1.038 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.091e-05/0.3436, allocations: 11.44 kB / 1.038 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.3436, allocations: 0 / 1.038 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of Templates: time 0.003617/0.3472, allocations: 1.651 MB / 1.04 GB, free: 0.5859 MB / 0.6823 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 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)