Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.643/1.643, allocations: 292.6 MB / 307.5 MB, free: 5.242 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.001003/0.001003, allocations: 181 kB / 377.1 MB, free: 1.555 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.792/1.792, allocations: 205.4 MB / 0.6367 GB, free: 9.469 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.001007/0.001007, allocations: 93.69 kB / 0.751 GB, free: 62.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003846, allocations: 8 kB / 0.8748 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3514, allocations: 116.3 MB / 0.9884 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9148/1.266, allocations: 140.8 MB / 1.126 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003897/1.267, allocations: 93.84 kB / 1.126 GB, free: 34.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01237/1.279, allocations: 4.779 MB / 1.131 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.105e-06/1.279, allocations: 3.375 kB / 1.131 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.098e-05/1.279, allocations: 8.656 kB / 1.131 GB, free: 30.84 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.0003784/1.28, allocations: 374.3 kB / 1.131 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.28, allocations: 12.02 kB / 1.131 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/1.28, allocations: 2.844 kB / 1.131 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/1.28, allocations: 170.4 kB / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/1.28, allocations: 1.828 kB / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/1.28, allocations: 4 kB / 1.131 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/1.28, allocations: 37.69 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/1.28, allocations: 0 / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/1.28, allocations: 3.125 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/1.28, allocations: 4 kB / 1.131 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.94e-05/1.28, allocations: 15.5 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/1.28, allocations: 157.9 kB / 1.131 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.679e-05/1.28, allocations: 34.7 kB / 1.131 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/1.28, allocations: 4.062 kB / 1.131 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/1.28, allocations: 30.56 kB / 1.131 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/1.28, allocations: 0 / 1.131 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001665/1.281, allocations: 61.2 kB / 1.132 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/1.281, allocations: 51.41 kB / 1.132 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.681e-05/1.281, allocations: 93.56 kB / 1.132 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/1.281, allocations: 29.95 kB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.154e-05/1.281, allocations: 80.14 kB / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/1.281, allocations: 8 kB / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/1.281, allocations: 0 / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.599e-05/1.281, allocations: 318.3 kB / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/1.281, allocations: 4 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.25e-05/1.281, allocations: 4.938 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.606e-05/1.281, allocations: 15.47 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.281, allocations: 64 / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.684e-05/1.281, allocations: 61.05 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/1.281, allocations: 4 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/1.281, allocations: 4.781 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.281, allocations: 3.422 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/1.281, allocations: 0 / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/1.281, allocations: 0.5 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.416e-05/1.281, allocations: 4 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/1.281, allocations: 0.9375 kB / 1.132 GB, free: 29.12 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 6.683e-05/1.281, allocations: 121.8 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/1.281, allocations: 0 / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/1.281, allocations: 71.08 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/1.281, allocations: 0.5 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.281, allocations: 0 / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.281, allocations: 0 / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.028e-05/1.282, allocations: 165 kB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.282, allocations: 5.188 kB / 1.133 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/1.282, allocations: 0 / 1.133 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/1.282, allocations: 0.9375 kB / 1.133 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/1.282, allocations: 4.031 kB / 1.133 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.282, allocations: 4 kB / 1.133 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/1.282, allocations: 0 / 1.133 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.668e-05/1.282, allocations: 60.56 kB / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/1.282, allocations: 92.44 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/1.282, allocations: 0.6875 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.47e-05/1.282, allocations: 4 kB / 1.133 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/1.282, allocations: 4.031 kB / 1.133 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/1.282, allocations: 3.469 kB / 1.133 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.543e-05/1.282, allocations: 80.31 kB / 1.133 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.282, allocations: 0 / 1.133 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002564/1.282, allocations: 75.44 kB / 1.133 GB, free: 28.38 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.0007012/1.283, allocations: 318.5 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001038/1.283, allocations: 66.97 kB / 1.133 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.283, allocations: 0 / 1.133 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-05/1.283, allocations: 37.17 kB / 1.133 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001135/1.283, allocations: 3.938 kB / 1.133 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/1.284, allocations: 237.8 kB / 1.133 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/1.284, allocations: 0.6805 MB / 1.134 GB, free: 27.13 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.718e-05/1.284, allocations: 8.875 kB / 1.134 GB, free: 27.13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.246e-05/1.284, allocations: 7.438 kB / 1.134 GB, free: 27.12 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/1.284, allocations: 0 / 1.134 GB, free: 27.12 MB / 0.7292 GB Notification: Performance of Templates: time 0.004256/1.288, allocations: 1.68 MB / 1.136 GB, free: 26.14 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)