Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.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.705/1.705, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.000948/0.0009482, allocations: 172.9 kB / 361.4 MB, free: 6.824 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.538/1.538, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0008498/0.00085, allocations: 94.23 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.767e-05/1.77e-05, allocations: 0 / 0.8518 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8119/0.8119, allocations: 115.3 MB / 0.9644 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2077/1.02, allocations: 139.1 MB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/1.02, allocations: 97.7 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01185/1.032, allocations: 4.48 MB / 1.105 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/1.032, allocations: 0 / 1.105 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.945e-06/1.032, allocations: 0.7188 kB / 1.105 GB, free: 12.26 MB / 0.7136 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.0004232/1.032, allocations: 370.9 kB / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.032, allocations: 8.625 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/1.033, allocations: 10.12 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/1.033, allocations: 171 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/1.033, allocations: 0 / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/1.033, allocations: 0 / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.453e-05/1.033, allocations: 8.812 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.857e-05/1.033, allocations: 42.22 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.033, allocations: 0 / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/1.033, allocations: 0.8438 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.033, allocations: 0 / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/1.033, allocations: 138.7 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.778e-05/1.033, allocations: 36.88 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/1.033, allocations: 8.922 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/1.033, allocations: 7.984 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/1.033, allocations: 31.16 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/1.033, allocations: 0.625 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002387/1.034, allocations: 66.17 kB / 1.106 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/1.034, allocations: 52.28 kB / 1.106 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.113e-05/1.034, allocations: 86.78 kB / 1.106 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/1.034, allocations: 29.7 kB / 1.106 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/1.034, allocations: 81.36 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/1.034, allocations: 4 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/1.034, allocations: 0 / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.034, allocations: 317.8 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/1.034, allocations: 4 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.344e-05/1.034, allocations: 8 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.991e-05/1.034, allocations: 11.98 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.034, allocations: 3.953 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001211/1.034, allocations: 61.09 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/1.034, allocations: 8.609 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/1.034, allocations: 7.938 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.034, allocations: 0 / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/1.034, allocations: 0 / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/1.034, allocations: 2.906 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/1.034, allocations: 0 / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/1.034, allocations: 7.938 kB / 1.106 GB, free: 10.53 MB / 0.7136 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 7.194e-05/1.034, allocations: 101.2 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/1.034, allocations: 11.95 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/1.035, allocations: 68.47 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/1.035, allocations: 0 / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.035, allocations: 3.984 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/1.035, allocations: 0 / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.301e-05/1.035, allocations: 130.2 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/1.035, allocations: 7.984 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/1.035, allocations: 0 / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/1.035, allocations: 3.953 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/1.035, allocations: 4.031 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/1.035, allocations: 0 / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.035, allocations: 0 / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/1.035, allocations: 75.12 kB / 1.107 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/1.035, allocations: 81.02 kB / 1.107 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/1.035, allocations: 7.938 kB / 1.107 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-05/1.035, allocations: 4 kB / 1.107 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/1.035, allocations: 4.031 kB / 1.107 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/1.035, allocations: 0 / 1.107 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.579e-05/1.035, allocations: 83.28 kB / 1.107 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.035, allocations: 0 / 1.107 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003131/1.035, allocations: 71.92 kB / 1.107 GB, free: 9.797 MB / 0.7136 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.008906/1.044, allocations: 317 kB / 1.107 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001751/1.045, allocations: 71.33 kB / 1.107 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.045, allocations: 0 / 1.107 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.962e-05/1.045, allocations: 29.7 kB / 1.107 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/1.045, allocations: 10.16 kB / 1.107 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/1.046, allocations: 195.6 kB / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/1.046, allocations: 0.6775 MB / 1.108 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.869e-05/1.046, allocations: 7.984 kB / 1.108 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.497e-05/1.046, allocations: 11.44 kB / 1.108 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/1.046, allocations: 3.938 kB / 1.108 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.004347/1.05, allocations: 1.67 MB / 1.11 GB, free: 6.863 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)