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.562/2.562, allocations: 285 MB / 292.5 MB, free: 10.56 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.001515/0.001514, allocations: 176.9 kB / 360.7 MB, free: 7.27 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.146/2.146, allocations: 205.3 MB / 0.6192 GB, free: 12.12 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.001137/0.001137, allocations: 93.05 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.992e-05/2.002e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8864/0.8865, allocations: 115.2 MB / 0.9635 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2381/1.125, allocations: 138.9 MB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004063/1.125, allocations: 94.64 kB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01965/1.145, allocations: 4.485 MB / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.074e-06/1.145, allocations: 0 / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.224e-06/1.145, allocations: 0.5 kB / 1.104 GB, free: 13.08 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.0005277/1.145, allocations: 371 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.146, allocations: 12.62 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/1.146, allocations: 5.359 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/1.146, allocations: 167 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/1.146, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/1.146, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.259e-05/1.146, allocations: 12.66 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.676e-05/1.146, allocations: 38.19 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/1.146, allocations: 0.7812 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/1.146, allocations: 3.984 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.146, allocations: 4.562 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/1.146, allocations: 139 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.833e-05/1.146, allocations: 27.31 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/1.146, allocations: 10.86 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/1.146, allocations: 4 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/1.146, allocations: 35.62 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.843e-06/1.147, allocations: 0.7812 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002485/1.147, allocations: 57.58 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/1.147, allocations: 51.94 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/1.147, allocations: 95.38 kB / 1.105 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/1.147, allocations: 25.7 kB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/1.147, allocations: 80.14 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/1.147, allocations: 4 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/1.147, allocations: 2.094 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.147, allocations: 322.8 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/1.147, allocations: 4 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/1.147, allocations: 4 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.335e-05/1.147, allocations: 14.23 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.147, allocations: 224 / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001654/1.148, allocations: 69.56 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.148, allocations: 5.562 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.148, allocations: 4 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.148, allocations: 0 / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/1.148, allocations: 3.938 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/1.148, allocations: 0 / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/1.148, allocations: 4 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/1.148, allocations: 0 / 1.105 GB, free: 11.36 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 9.395e-05/1.148, allocations: 112.7 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/1.148, allocations: 4.031 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/1.148, allocations: 72.09 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.148, allocations: 3.984 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/1.148, allocations: 0 / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/1.148, allocations: 0 / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/1.148, allocations: 134.2 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/1.148, allocations: 3.984 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.466e-06/1.148, allocations: 7.797 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/1.148, allocations: 0 / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/1.148, allocations: 4.031 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.148, allocations: 4 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/1.148, allocations: 0 / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/1.149, allocations: 69.06 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/1.149, allocations: 81.02 kB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/1.149, allocations: 11.94 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/1.149, allocations: 0 / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/1.149, allocations: 4.031 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/1.149, allocations: 5.5 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.471e-05/1.149, allocations: 83.28 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.2e-07/1.149, allocations: 0 / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004726/1.149, allocations: 71.91 kB / 1.106 GB, free: 10.61 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.0009345/1.15, allocations: 308.9 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001567/1.15, allocations: 67.39 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/1.151, allocations: 0 / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.471e-05/1.151, allocations: 37.64 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/1.151, allocations: 4 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008788/1.152, allocations: 193.3 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/1.152, allocations: 0.6768 MB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.327e-05/1.152, allocations: 4 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/1.152, allocations: 11.44 kB / 1.107 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of SimCode: time 1.302e-06/1.152, allocations: 0 / 1.107 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of Templates: time 0.006214/1.158, allocations: 1.686 MB / 1.109 GB, free: 7.688 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)