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.674/1.674, allocations: 289.7 MB / 302.2 MB, free: 2.129 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.001129/0.001129, allocations: 184.7 kB / 371.6 MB, free: 3.371 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.701/1.701, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009849/0.000985, allocations: 86.44 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.284e-05/4.286e-05, allocations: 4 kB / 0.8663 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2754, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7868/1.062, allocations: 140.7 MB / 1.117 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/1.063, allocations: 93.41 kB / 1.117 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01096/1.074, allocations: 4.577 MB / 1.122 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/1.074, allocations: 0 / 1.122 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.172e-06/1.074, allocations: 0 / 1.122 GB, free: 40.9 MB / 0.7448 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.000315/1.074, allocations: 369.8 kB / 1.122 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.074, allocations: 12.84 kB / 1.122 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/1.074, allocations: 1.719 kB / 1.122 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.535e-05/1.074, allocations: 173.1 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/1.074, allocations: 0.875 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/1.074, allocations: 4 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/1.074, allocations: 38.2 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/1.074, allocations: 0.75 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/1.074, allocations: 3.562 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/1.074, allocations: 0 / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.677e-05/1.074, allocations: 15.17 kB / 1.122 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/1.075, allocations: 162.5 kB / 1.123 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.197e-05/1.075, allocations: 26.61 kB / 1.123 GB, free: 40 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/1.075, allocations: 12.44 kB / 1.123 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/1.075, allocations: 5.219 kB / 1.123 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/1.075, allocations: 34.84 kB / 1.123 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.075, allocations: 0 / 1.123 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001395/1.075, allocations: 49.16 kB / 1.123 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/1.075, allocations: 55.44 kB / 1.123 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.248e-05/1.075, allocations: 95.98 kB / 1.123 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/1.075, allocations: 25.7 kB / 1.123 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.611e-05/1.075, allocations: 80.14 kB / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/1.075, allocations: 8 kB / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/1.075, allocations: 0 / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.646e-05/1.075, allocations: 317.8 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/1.075, allocations: 8.125 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.44e-05/1.075, allocations: 11.38 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.096e-05/1.075, allocations: 4 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/1.075, allocations: 0 / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.371e-05/1.075, allocations: 60.05 kB / 1.123 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/1.075, allocations: 11.94 kB / 1.123 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.075, allocations: 0 / 1.123 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/1.075, allocations: 4 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/1.075, allocations: 0.6562 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/1.075, allocations: 0.6406 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.478e-05/1.075, allocations: 4 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/1.075, allocations: 8.125 kB / 1.123 GB, free: 39.21 MB / 0.7448 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 4.295e-05/1.075, allocations: 104.9 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/1.075, allocations: 0 / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/1.076, allocations: 67.67 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.076, allocations: 0.6562 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/1.076, allocations: 0 / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/1.076, allocations: 32 / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.757e-05/1.076, allocations: 169.6 kB / 1.124 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.076, allocations: 0 / 1.124 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-06/1.076, allocations: 3.938 kB / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.076, allocations: 4.266 kB / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/1.076, allocations: 4.656 kB / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.076, allocations: 0 / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/1.076, allocations: 0 / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.887e-05/1.076, allocations: 64.47 kB / 1.124 GB, free: 38.74 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/1.076, allocations: 84 kB / 1.124 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/1.076, allocations: 3.375 kB / 1.124 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.741e-05/1.076, allocations: 4.562 kB / 1.124 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/1.076, allocations: 0.6562 kB / 1.124 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/1.076, allocations: 0 / 1.124 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.682e-05/1.076, allocations: 87.17 kB / 1.124 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.076, allocations: 0 / 1.124 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003248/1.076, allocations: 77.67 kB / 1.124 GB, free: 38.49 MB / 0.7448 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.0008649/1.077, allocations: 321.7 kB / 1.124 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001293/1.077, allocations: 67.58 kB / 1.124 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.077, allocations: 4 kB / 1.124 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/1.077, allocations: 29.7 kB / 1.124 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/1.078, allocations: 3.688 kB / 1.124 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007091/1.078, allocations: 199.2 kB / 1.125 GB, free: 38.01 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/1.079, allocations: 0.6767 MB / 1.125 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.069e-05/1.079, allocations: 7.516 kB / 1.125 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/1.079, allocations: 7.438 kB / 1.125 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of SimCode: time 3.9e-07/1.079, allocations: 0 / 1.125 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.0046/1.083, allocations: 1.695 MB / 1.127 GB, free: 36.32 MB / 0.7448 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)