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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.599/1.599, allocations: 293 MB / 309 MB, free: 4.812 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.001019/0.001019, allocations: 172.2 kB / 378.7 MB, free: 1.027 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.319/1.319, allocations: 205.4 MB / 0.6383 GB, free: 8.137 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.0007037/0.0007038, allocations: 92.36 kB / 0.7527 GB, free: 62.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003777, allocations: 12 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2116, allocations: 116.4 MB / 0.9904 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6105/0.8221, allocations: 140.6 MB / 1.128 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.8224, allocations: 96.59 kB / 1.128 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01002/0.8324, allocations: 4.651 MB / 1.132 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.976e-06/0.8325, allocations: 3.5 kB / 1.132 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.8325, allocations: 4.562 kB / 1.132 GB, free: 30.04 MB / 0.7292 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.0002916/0.8328, allocations: 374.2 kB / 1.133 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.8328, allocations: 11.97 kB / 1.133 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.8329, allocations: 1.719 kB / 1.133 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.147e-05/0.833, allocations: 172.3 kB / 1.133 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.833, allocations: 384 / 1.133 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.833, allocations: 4.547 kB / 1.133 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.8331, allocations: 41.69 kB / 1.133 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8331, allocations: 0.6875 kB / 1.133 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.8331, allocations: 7.938 kB / 1.133 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.8331, allocations: 0.8906 kB / 1.133 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.496e-05/0.8332, allocations: 11.42 kB / 1.133 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.8333, allocations: 153.8 kB / 1.133 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.495e-05/0.8334, allocations: 31.45 kB / 1.133 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.939e-05/0.8334, allocations: 16.3 kB / 1.133 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.8334, allocations: 4 kB / 1.133 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.8335, allocations: 35 kB / 1.133 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.8335, allocations: 0 / 1.133 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001439/0.8336, allocations: 65.86 kB / 1.133 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.8336, allocations: 51.41 kB / 1.133 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.8337, allocations: 93.98 kB / 1.133 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.8337, allocations: 33.7 kB / 1.133 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.792e-05/0.8338, allocations: 80.14 kB / 1.134 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.8338, allocations: 8.016 kB / 1.134 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.8338, allocations: 0 / 1.134 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.8338, allocations: 310.8 kB / 1.134 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.8339, allocations: 8 kB / 1.134 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.8339, allocations: 11.42 kB / 1.134 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.763e-05/0.8339, allocations: 24.47 kB / 1.134 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8339, allocations: 0 / 1.134 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.877e-05/0.834, allocations: 53.73 kB / 1.134 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.834, allocations: 8.719 kB / 1.134 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.834, allocations: 4 kB / 1.134 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.8341, allocations: 0 / 1.134 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-06/0.8341, allocations: 0.5 kB / 1.134 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.8341, allocations: 3.938 kB / 1.134 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.8341, allocations: 7.469 kB / 1.134 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.8341, allocations: 0.9375 kB / 1.134 GB, free: 28.27 MB / 0.7292 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 4.938e-05/0.8342, allocations: 121.8 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.8342, allocations: 4.75 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.8343, allocations: 69.33 kB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.8343, allocations: 0 / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.8343, allocations: 0 / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.8344, allocations: 0 / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.643e-05/0.8344, allocations: 156.5 kB / 1.134 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.8344, allocations: 0 / 1.134 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-06/0.8345, allocations: 4.594 kB / 1.134 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.8345, allocations: 5.156 kB / 1.134 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-06/0.8345, allocations: 0 / 1.134 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8345, allocations: 4.75 kB / 1.134 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8345, allocations: 0 / 1.134 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.473e-05/0.8346, allocations: 75.12 kB / 1.134 GB, free: 27.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.8346, allocations: 84.52 kB / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.8346, allocations: 0 / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.234e-05/0.8347, allocations: 8.031 kB / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.8347, allocations: 0 / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.8347, allocations: 0.5 kB / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.762e-05/0.8347, allocations: 86.7 kB / 1.135 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8347, allocations: 0 / 1.135 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002492/0.835, allocations: 83.33 kB / 1.135 GB, free: 27.52 MB / 0.7292 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.0005193/0.8355, allocations: 314.4 kB / 1.135 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.836e-05/0.8356, allocations: 74.91 kB / 1.135 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8356, allocations: 0 / 1.135 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.605e-05/0.8356, allocations: 33.08 kB / 1.135 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.8358, allocations: 4 kB / 1.135 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.8362, allocations: 227.3 kB / 1.135 GB, free: 26.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.404e-05/0.8364, allocations: 0.6804 MB / 1.136 GB, free: 26.28 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.852e-05/0.8364, allocations: 4 kB / 1.136 GB, free: 26.28 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.135e-05/0.8364, allocations: 10.91 kB / 1.136 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of SimCode: time 7.71e-07/0.8364, allocations: 0.9375 kB / 1.136 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of Templates: time 0.003558/0.84, allocations: 1.665 MB / 1.138 GB, free: 25.31 MB / 0.7292 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)