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.597/1.597, allocations: 288.4 MB / 304.3 MB, free: 8.137 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.001055/0.001055, allocations: 186.9 kB / 373 MB, free: 10.15 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.573/1.573, allocations: 205.4 MB / 0.6317 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009183/0.0009183, allocations: 102.8 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.000381, allocations: 11.19 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2289, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6679/0.8969, allocations: 139.8 MB / 1.117 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.8972, allocations: 94.2 kB / 1.117 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01106/0.9083, allocations: 4.825 MB / 1.122 GB, free: 32.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9084, allocations: 0 / 1.122 GB, free: 32.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.9084, allocations: 0 / 1.122 GB, free: 32.12 MB / 0.698 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.0003413/0.9087, allocations: 374.5 kB / 1.122 GB, free: 31.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.9088, allocations: 11.5 kB / 1.122 GB, free: 31.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.9088, allocations: 0.9375 kB / 1.122 GB, free: 31.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.9089, allocations: 163.5 kB / 1.123 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.9089, allocations: 4.25 kB / 1.123 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.909, allocations: 384 / 1.123 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.9091, allocations: 44.59 kB / 1.123 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.9091, allocations: 192 / 1.123 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.9091, allocations: 3.938 kB / 1.123 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.9091, allocations: 3.812 kB / 1.123 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.9092, allocations: 14.8 kB / 1.123 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.9093, allocations: 156.2 kB / 1.123 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.276e-05/0.9094, allocations: 25.81 kB / 1.123 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.9094, allocations: 23.28 kB / 1.123 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.9094, allocations: 0 / 1.123 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.9095, allocations: 34.5 kB / 1.123 GB, free: 31.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.9095, allocations: 3.875 kB / 1.123 GB, free: 31.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000178/0.9097, allocations: 59.41 kB / 1.123 GB, free: 31.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.9097, allocations: 54.78 kB / 1.123 GB, free: 31.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.716e-05/0.9098, allocations: 97.64 kB / 1.123 GB, free: 31.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.9098, allocations: 29.95 kB / 1.123 GB, free: 31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.9098, allocations: 80.14 kB / 1.123 GB, free: 30.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.9099, allocations: 0 / 1.123 GB, free: 30.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.9099, allocations: 0 / 1.123 GB, free: 30.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.91, allocations: 321.9 kB / 1.124 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.91, allocations: 7.781 kB / 1.124 GB, free: 30.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.213e-05/0.91, allocations: 3.812 kB / 1.124 GB, free: 30.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.6e-05/0.9101, allocations: 19.88 kB / 1.124 GB, free: 30.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.9101, allocations: 4.062 kB / 1.124 GB, free: 30.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.15e-05/0.9102, allocations: 62.81 kB / 1.124 GB, free: 30.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.9102, allocations: 7.844 kB / 1.124 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.9102, allocations: 3.812 kB / 1.124 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.9102, allocations: 0 / 1.124 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.9102, allocations: 3.938 kB / 1.124 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.9102, allocations: 0 / 1.124 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.9103, allocations: 0 / 1.124 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.9103, allocations: 7.891 kB / 1.124 GB, free: 30.54 MB / 0.698 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 7.613e-05/0.9104, allocations: 125 kB / 1.124 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.9104, allocations: 3.938 kB / 1.124 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.9105, allocations: 70.97 kB / 1.124 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.9105, allocations: 0 / 1.124 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.9105, allocations: 0 / 1.124 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.9105, allocations: 0 / 1.124 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.47e-05/0.9106, allocations: 155.8 kB / 1.124 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.9106, allocations: 3.469 kB / 1.124 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-06/0.9107, allocations: 4 kB / 1.124 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.9107, allocations: 7.969 kB / 1.124 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.9107, allocations: 3.812 kB / 1.124 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.9107, allocations: 0 / 1.124 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.9107, allocations: 0 / 1.124 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.448e-05/0.9108, allocations: 67.47 kB / 1.124 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.9108, allocations: 84.23 kB / 1.124 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.9108, allocations: 0 / 1.124 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.515e-05/0.9109, allocations: 7.906 kB / 1.124 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.9109, allocations: 4.031 kB / 1.124 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.9109, allocations: 3.812 kB / 1.124 GB, free: 29.99 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.911, allocations: 85.66 kB / 1.124 GB, free: 29.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.911, allocations: 3.938 kB / 1.124 GB, free: 29.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002536/0.9112, allocations: 73.06 kB / 1.124 GB, free: 29.89 MB / 0.698 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.0005541/0.9118, allocations: 314.5 kB / 1.125 GB, free: 29.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.9119, allocations: 72.92 kB / 1.125 GB, free: 29.67 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9119, allocations: 0 / 1.125 GB, free: 29.67 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-05/0.9119, allocations: 29.61 kB / 1.125 GB, free: 29.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.9121, allocations: 14.86 kB / 1.125 GB, free: 29.63 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.9126, allocations: 233.5 kB / 1.125 GB, free: 29.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.9128, allocations: 0.6759 MB / 1.126 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.373e-05/0.9129, allocations: 6.75 kB / 1.126 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.005e-05/0.9129, allocations: 11.41 kB / 1.126 GB, free: 28.82 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.9129, allocations: 0 / 1.126 GB, free: 28.82 MB / 0.698 GB Notification: Performance of Templates: time 0.003444/0.9164, allocations: 1.692 MB / 1.127 GB, free: 28.66 MB / 0.698 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)