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.686/1.686, allocations: 288.3 MB / 303.2 MB, free: 8.172 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.001028/0.001028, allocations: 167.5 kB / 371.8 MB, free: 10.27 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.687/1.687, allocations: 205.4 MB / 0.6306 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009372/0.0009371, allocations: 90.92 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004513, allocations: 11.94 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2303, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6998/0.9301, allocations: 139.5 MB / 1.116 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.9305, allocations: 89.36 kB / 1.116 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01162/0.9421, allocations: 4.632 MB / 1.12 GB, free: 31.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9421, allocations: 0 / 1.12 GB, free: 31.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.9422, allocations: 0 / 1.12 GB, free: 31.79 MB / 0.698 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.0003989/0.9426, allocations: 375 kB / 1.121 GB, free: 31.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.9426, allocations: 11.67 kB / 1.121 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.9427, allocations: 11.69 kB / 1.121 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.9428, allocations: 169.3 kB / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.9428, allocations: 0 / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.9428, allocations: 3.844 kB / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.943, allocations: 40.44 kB / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.943, allocations: 0 / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.943, allocations: 3 kB / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.943, allocations: 0 / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.552e-05/0.943, allocations: 11.09 kB / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.9432, allocations: 156.7 kB / 1.121 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.583e-05/0.9433, allocations: 33.12 kB / 1.121 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.9433, allocations: 0 / 1.121 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.9434, allocations: 34.38 kB / 1.121 GB, free: 30.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.9434, allocations: 0 / 1.121 GB, free: 30.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001719/0.9435, allocations: 59.41 kB / 1.121 GB, free: 30.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.9436, allocations: 59.38 kB / 1.121 GB, free: 30.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.132e-05/0.9437, allocations: 95.39 kB / 1.121 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.9437, allocations: 25.7 kB / 1.121 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.9437, allocations: 83.86 kB / 1.121 GB, free: 30.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.9437, allocations: 0 / 1.121 GB, free: 30.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.9437, allocations: 0 / 1.121 GB, free: 30.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.9438, allocations: 317.9 kB / 1.122 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.9439, allocations: 7.156 kB / 1.122 GB, free: 30.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.9439, allocations: 11.72 kB / 1.122 GB, free: 30.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.161e-05/0.9439, allocations: 6.828 kB / 1.122 GB, free: 30.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.9439, allocations: 0 / 1.122 GB, free: 30.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.274e-05/0.944, allocations: 59.17 kB / 1.122 GB, free: 30.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.944, allocations: 3.875 kB / 1.122 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.944, allocations: 10.86 kB / 1.122 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.9441, allocations: 3.938 kB / 1.122 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.9441, allocations: 0 / 1.122 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.9441, allocations: 0 / 1.122 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.9441, allocations: 4.094 kB / 1.122 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.9441, allocations: 3.875 kB / 1.122 GB, free: 30.23 MB / 0.698 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.888e-05/0.9442, allocations: 112.5 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.9442, allocations: 3.844 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.9444, allocations: 77.52 kB / 1.122 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.9444, allocations: 3.984 kB / 1.122 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9444, allocations: 0 / 1.122 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.9444, allocations: 0 / 1.122 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.968e-05/0.9445, allocations: 159.5 kB / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.9445, allocations: 7.172 kB / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.9445, allocations: 0 / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.9446, allocations: 0 / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.9446, allocations: 0 / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.9446, allocations: 3.812 kB / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.9446, allocations: 0 / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.135e-05/0.9447, allocations: 62.81 kB / 1.122 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.9447, allocations: 92.28 kB / 1.122 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.9447, allocations: 0 / 1.122 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.014e-05/0.9448, allocations: 3.875 kB / 1.122 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.9448, allocations: 0 / 1.122 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.9448, allocations: 7.375 kB / 1.122 GB, free: 29.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.783e-05/0.9449, allocations: 82.22 kB / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9449, allocations: 3.812 kB / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003038/0.9452, allocations: 72.52 kB / 1.122 GB, free: 29.58 MB / 0.698 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.0005761/0.9458, allocations: 324.6 kB / 1.123 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.9459, allocations: 66 kB / 1.123 GB, free: 29.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9459, allocations: 3.812 kB / 1.123 GB, free: 29.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.353e-05/0.9459, allocations: 35.92 kB / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.946, allocations: 1.688 kB / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.9466, allocations: 233.2 kB / 1.123 GB, free: 29.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.9468, allocations: 0.6787 MB / 1.124 GB, free: 28.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.67e-05/0.9469, allocations: 3.969 kB / 1.124 GB, free: 28.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.186e-05/0.9469, allocations: 19.16 kB / 1.124 GB, free: 28.51 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.9469, allocations: 0 / 1.124 GB, free: 28.51 MB / 0.698 GB Notification: Performance of Templates: time 0.003319/0.9503, allocations: 1.654 MB / 1.125 GB, free: 28.36 MB / 0.698 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)