Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.798/2.798, allocations: 284.8 MB / 297.3 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 180.1 kB / 365.7 MB, free: 2.594 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.51/2.51, allocations: 205.2 MB / 0.6241 GB, free: 8.168 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001042, allocations: 102 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.44e-05/3.447e-05, allocations: 4 kB / 0.8575 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7956/0.7957, allocations: 115.2 MB / 0.97 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2439/1.04, allocations: 139.6 MB / 1.106 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000373/1.04, allocations: 95.92 kB / 1.106 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02118/1.061, allocations: 4.586 MB / 1.111 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.697e-06/1.061, allocations: 0 / 1.111 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.323e-05/1.061, allocations: 2.531 kB / 1.111 GB, free: 8.195 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.0007428/1.062, allocations: 371.1 kB / 1.111 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.18e-05/1.062, allocations: 12.03 kB / 1.111 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/1.062, allocations: 0 / 1.111 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/1.063, allocations: 172.9 kB / 1.111 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/1.063, allocations: 0.7188 kB / 1.111 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/1.063, allocations: 4 kB / 1.111 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/1.063, allocations: 42.81 kB / 1.111 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/1.063, allocations: 0 / 1.111 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.853e-05/1.063, allocations: 4.859 kB / 1.111 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/1.063, allocations: 0 / 1.111 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.964e-05/1.063, allocations: 9.5 kB / 1.111 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/1.064, allocations: 157.6 kB / 1.112 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/1.064, allocations: 36.25 kB / 1.112 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.391e-05/1.064, allocations: 8.922 kB / 1.112 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.391e-05/1.064, allocations: 4 kB / 1.112 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/1.064, allocations: 35.59 kB / 1.112 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 3.437e-06/1.064, allocations: 0 / 1.112 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003345/1.064, allocations: 59.3 kB / 1.112 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/1.065, allocations: 55.41 kB / 1.112 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/1.065, allocations: 85.88 kB / 1.112 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/1.065, allocations: 25.7 kB / 1.112 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/1.065, allocations: 80.8 kB / 1.112 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/1.065, allocations: 4 kB / 1.112 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/1.065, allocations: 10.16 kB / 1.112 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002274/1.065, allocations: 314.8 kB / 1.112 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-05/1.065, allocations: 7.984 kB / 1.112 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.695e-05/1.065, allocations: 8 kB / 1.112 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.868e-05/1.065, allocations: 4 kB / 1.112 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.065, allocations: 3.938 kB / 1.112 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002146/1.066, allocations: 57.58 kB / 1.112 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/1.066, allocations: 12.28 kB / 1.112 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-05/1.066, allocations: 2.375 kB / 1.112 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.066, allocations: 7.938 kB / 1.112 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-06/1.066, allocations: 0 / 1.112 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/1.066, allocations: 0 / 1.112 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.846e-05/1.066, allocations: 0 / 1.112 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/1.066, allocations: 4 kB / 1.112 GB, free: 6.441 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 0.0001414/1.066, allocations: 109.2 kB / 1.112 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/1.066, allocations: 0 / 1.112 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/1.066, allocations: 69.59 kB / 1.113 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/1.067, allocations: 0 / 1.113 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.067, allocations: 0 / 1.113 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/1.067, allocations: 4 kB / 1.113 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/1.067, allocations: 161.6 kB / 1.113 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/1.067, allocations: 3.984 kB / 1.113 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-06/1.067, allocations: 0 / 1.113 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/1.067, allocations: 4.031 kB / 1.113 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/1.067, allocations: 4 kB / 1.113 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/1.067, allocations: 1.797 kB / 1.113 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.067, allocations: 0.75 kB / 1.113 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/1.067, allocations: 69.08 kB / 1.113 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/1.067, allocations: 81.02 kB / 1.113 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/1.068, allocations: 1.125 kB / 1.113 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/1.068, allocations: 12.02 kB / 1.113 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/1.068, allocations: 3.938 kB / 1.113 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/1.068, allocations: 4 kB / 1.113 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001066/1.068, allocations: 83.28 kB / 1.113 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.61e-07/1.068, allocations: 1.594 kB / 1.113 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009055/1.069, allocations: 75.91 kB / 1.113 GB, free: 5.664 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.001229/1.07, allocations: 308.9 kB / 1.113 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000263/1.07, allocations: 67.39 kB / 1.113 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.07, allocations: 0 / 1.113 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.798e-05/1.071, allocations: 37.64 kB / 1.113 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/1.071, allocations: 7.953 kB / 1.113 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/1.072, allocations: 197.6 kB / 1.114 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/1.073, allocations: 0.677 MB / 1.114 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001045/1.073, allocations: 9.078 kB / 1.114 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/1.073, allocations: 7.438 kB / 1.114 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of SimCode: time 2.385e-06/1.073, allocations: 0 / 1.114 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of Templates: time 0.009495/1.082, allocations: 1.696 MB / 1.116 GB, free: 2.734 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)