Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007852/0.0007851, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00482/0.004821, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 252 MB / 0.5105 GB, free: 4.672 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007566/0.0007566, allocations: 20 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4531, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0007063/0.4539, allocations: 263.9 kB / 0.729 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.4552, allocations: 1.112 MB / 0.7301 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.344e-05/0.4552, allocations: 0 / 0.7301 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.17e-05/0.4553, allocations: 7.984 kB / 0.7301 GB, free: 9.906 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.4554, allocations: 0 / 0.7301 GB, free: 9.906 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function ‘Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.4558, allocations: 147.7 kB / 0.7302 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.442e-05/0.4558, allocations: 15.98 kB / 0.7302 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.4558, allocations: 0 / 0.7302 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.055e-05/0.4559, allocations: 11.98 kB / 0.7303 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.4559, allocations: 7.938 kB / 0.7303 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.4559, allocations: 7.938 kB / 0.7303 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.4562, allocations: 183.6 kB / 0.7304 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.4563, allocations: 4 kB / 0.7304 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.4563, allocations: 29.7 kB / 0.7305 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.4566, allocations: 195.6 kB / 0.7307 GB, free: 9.309 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4566, allocations: 0 / 0.7307 GB, free: 9.309 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4566, allocations: 0 / 0.7307 GB, free: 9.309 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.4566, allocations: 0 / 0.7307 GB, free: 9.309 MB / 0.545 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.000278/0.4569, allocations: 355.5 kB / 0.731 GB, free: 8.914 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.4569, allocations: 12.03 kB / 0.731 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.4569, allocations: 8.938 kB / 0.731 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.607e-05/0.457, allocations: 168.4 kB / 0.7312 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.4571, allocations: 384 / 0.7312 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.4571, allocations: 4.375 kB / 0.7312 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.715e-05/0.4572, allocations: 41.81 kB / 0.7312 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.4572, allocations: 0 / 0.7312 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.4572, allocations: 0 / 0.7312 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.4572, allocations: 7.984 kB / 0.7312 GB, free: 8.633 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.55e-05/0.4573, allocations: 7.938 kB / 0.7312 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.4574, allocations: 159.6 kB / 0.7314 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.418e-05/0.4575, allocations: 30.59 kB / 0.7314 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/0.4575, allocations: 8.922 kB / 0.7314 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-06/0.4575, allocations: 0 / 0.7314 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.4575, allocations: 42.5 kB / 0.7315 GB, free: 8.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 2.816e-06/0.4575, allocations: 0 / 0.7315 GB, free: 8.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000136/0.4577, allocations: 65.55 kB / 0.7315 GB, free: 8.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.4577, allocations: 51.41 kB / 0.7316 GB, free: 8.188 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.944e-05/0.4578, allocations: 97.86 kB / 0.7317 GB, free: 8.082 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.4578, allocations: 25.7 kB / 0.7317 GB, free: 8.051 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.298e-05/0.4578, allocations: 84.14 kB / 0.7318 GB, free: 7.965 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.4578, allocations: 7.891 kB / 0.7318 GB, free: 7.957 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.4579, allocations: 13.72 kB / 0.7318 GB, free: 7.938 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.08e-05/0.458, allocations: 315.1 kB / 0.7321 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.458, allocations: 12 kB / 0.7321 GB, free: 7.609 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.25e-05/0.458, allocations: 4 kB / 0.7321 GB, free: 7.605 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.887e-05/0.458, allocations: 24.84 kB / 0.7321 GB, free: 7.578 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4581, allocations: 0 / 0.7321 GB, free: 7.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.266e-05/0.4581, allocations: 57.56 kB / 0.7322 GB, free: 7.516 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4582, allocations: 9.547 kB / 0.7322 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4582, allocations: 4 kB / 0.7322 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.4582, allocations: 0 / 0.7322 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.4582, allocations: 4.094 kB / 0.7322 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.4582, allocations: 7.938 kB / 0.7322 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/0.4582, allocations: 0 / 0.7322 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.4582, allocations: 0 / 0.7322 GB, free: 7.492 MB / 0.545 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: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.08e-05/0.4583, allocations: 109.8 kB / 0.7323 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.4583, allocations: 7.844 kB / 0.7323 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.528e-06/0.4583, allocations: 3.125 kB / 0.7323 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.4583, allocations: 7.984 kB / 0.7323 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4583, allocations: 0 / 0.7323 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.4584, allocations: 4 kB / 0.7323 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.985e-05/0.4584, allocations: 153.6 kB / 0.7325 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4585, allocations: 0 / 0.7325 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-06/0.4585, allocations: 3.938 kB / 0.7325 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4585, allocations: 4 kB / 0.7325 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.4585, allocations: 0 / 0.7325 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.4585, allocations: 0 / 0.7325 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4585, allocations: 3.984 kB / 0.7325 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.028e-05/0.4586, allocations: 81.06 kB / 0.7326 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.4586, allocations: 89.03 kB / 0.7327 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.4586, allocations: 3.984 kB / 0.7327 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.231e-05/0.4587, allocations: 7.938 kB / 0.7327 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.4587, allocations: 0 / 0.7327 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.4587, allocations: 4 kB / 0.7327 GB, free: 6.922 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.621e-05/0.4588, allocations: 79.27 kB / 0.7328 GB, free: 6.844 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4588, allocations: 0 / 0.7328 GB, free: 6.844 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002389/0.459, allocations: 55.98 kB / 0.7328 GB, free: 6.789 MB / 0.545 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 (2): * Single equations (assignments): 0 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005293/0.4596, allocations: 303.7 kB / 0.7331 GB, free: 6.543 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.05e-05/0.4596, allocations: 20 kB / 0.7331 GB, free: 6.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4596, allocations: 0 / 0.7331 GB, free: 6.523 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-05/0.4597, allocations: 15.98 kB / 0.7331 GB, free: 6.508 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.4598, allocations: 8 kB / 0.7331 GB, free: 6.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.4601, allocations: 106.7 kB / 0.7332 GB, free: 6.367 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.4603, allocations: 0.677 MB / 0.7339 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.741e-05/0.4604, allocations: 12 kB / 0.7339 GB, free: 5.652 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.4605, allocations: 19.42 kB / 0.7339 GB, free: 5.633 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.4605, allocations: 4 kB / 0.7339 GB, free: 5.629 MB / 0.545 GB Notification: Performance of Templates: time 0.003224/0.4637, allocations: 1.54 MB / 0.7354 GB, free: 4.121 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) Environment - environmentSimulation: