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.607/1.607, allocations: 249.3 MB / 261.8 MB, free: 5.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 180.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.1 MB / 0.572 GB, free: 10.71 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.0008629/0.0008628, allocations: 90.41 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/4.006e-05, allocations: 0 / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1976, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7234/0.9211, allocations: 133.1 MB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.9214, allocations: 92.11 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01157/0.933, allocations: 4.446 MB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9331, allocations: 0 / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.9331, allocations: 4 kB / 1.026 GB, free: 14.01 MB / 0.6511 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.0004331/0.9335, allocations: 374.2 kB / 1.027 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.9336, allocations: 12.03 kB / 1.027 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.9336, allocations: 0 / 1.027 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.9338, allocations: 166.3 kB / 1.027 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.9338, allocations: 4 kB / 1.027 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.9338, allocations: 0 / 1.027 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.934, allocations: 37.69 kB / 1.027 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.934, allocations: 4 kB / 1.027 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.934, allocations: 0 / 1.027 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.934, allocations: 4 kB / 1.027 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.608e-05/0.9341, allocations: 15.67 kB / 1.027 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.9343, allocations: 157.6 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.345e-05/0.9344, allocations: 30.45 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.9344, allocations: 12.91 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.9344, allocations: 8 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.9345, allocations: 34.56 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.9345, allocations: 0 / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001663/0.9346, allocations: 53.31 kB / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.9347, allocations: 55.41 kB / 1.027 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.935e-05/0.9348, allocations: 85 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.9348, allocations: 25.7 kB / 1.027 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.9348, allocations: 91.23 kB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.9349, allocations: 3.906 kB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.9349, allocations: 3.938 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.935, allocations: 318.8 kB / 1.028 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.935, allocations: 7.688 kB / 1.028 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.555e-05/0.9351, allocations: 8 kB / 1.028 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/0.9351, allocations: 7.984 kB / 1.028 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9351, allocations: 0 / 1.028 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.057e-05/0.9352, allocations: 53.75 kB / 1.028 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.9352, allocations: 4 kB / 1.028 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.9352, allocations: 4 kB / 1.028 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.9353, allocations: 3.938 kB / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.9353, allocations: 0 / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.9353, allocations: 0 / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.9353, allocations: 2.938 kB / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.9353, allocations: 7.984 kB / 1.028 GB, free: 12.27 MB / 0.6511 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 6.964e-05/0.9354, allocations: 104.9 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.9354, allocations: 7.938 kB / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.9356, allocations: 65.09 kB / 1.028 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.9356, allocations: 0 / 1.028 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9356, allocations: 4 kB / 1.028 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.9356, allocations: 0 / 1.028 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.9357, allocations: 157.4 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.9357, allocations: 0 / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.9358, allocations: 0 / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.9358, allocations: 0 / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.9358, allocations: 7.938 kB / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.9358, allocations: 7.969 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9358, allocations: 0 / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.703e-05/0.9359, allocations: 68.77 kB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.9359, allocations: 81.09 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.936, allocations: 0 / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.499e-05/0.936, allocations: 4 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.936, allocations: 0 / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.936, allocations: 12.02 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.666e-05/0.9361, allocations: 82.78 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9361, allocations: 0 / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004157/0.9365, allocations: 75.78 kB / 1.028 GB, free: 11.52 MB / 0.6511 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.0009584/0.9375, allocations: 307.2 kB / 1.029 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.9377, allocations: 75.27 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.9377, allocations: 4 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.738e-05/0.9377, allocations: 29.7 kB / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.9379, allocations: 11.88 kB / 1.029 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000819/0.9387, allocations: 185.4 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.9391, allocations: 0.6809 MB / 1.03 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.517e-05/0.9391, allocations: 12.11 kB / 1.03 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.45e-05/0.9392, allocations: 7.438 kB / 1.03 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of SimCode: time 8.91e-07/0.9392, allocations: 0 / 1.03 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of Templates: time 0.005622/0.9448, allocations: 1.668 MB / 1.031 GB, free: 8.574 MB / 0.6511 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)