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.0009422/0.0009423, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009871/0.0009871, allocations: 198.5 kB / 16.25 MB, free: 6.621 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.125/1.125, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.295/1.295, allocations: 251.6 MB / 0.5089 GB, free: 3.273 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.001269/0.001269, allocations: 67.91 kB / 0.6218 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3748, allocations: 104.7 MB / 0.724 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.001644/0.3765, allocations: 0.6138 MB / 0.7246 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.3779, allocations: 1.105 MB / 0.7257 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.782e-05/0.3779, allocations: 4 kB / 0.7257 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.863e-05/0.378, allocations: 7.969 kB / 0.7257 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.71e-05/0.3781, allocations: 3.938 kB / 0.7257 GB, free: 11.48 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.0004224/0.3785, allocations: 155.7 kB / 0.7258 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.854e-05/0.3785, allocations: 15.98 kB / 0.7259 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.3786, allocations: 4 kB / 0.7259 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.105e-05/0.3786, allocations: 4 kB / 0.7259 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.651e-05/0.3787, allocations: 11.92 kB / 0.7259 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.3787, allocations: 3.984 kB / 0.7259 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.379, allocations: 183.7 kB / 0.7261 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.379, allocations: 0 / 0.7261 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.3791, allocations: 11.98 kB / 0.7261 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.3793, allocations: 191.7 kB / 0.7263 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3793, allocations: 0 / 0.7263 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3793, allocations: 0 / 0.7263 GB, free: 10.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.3793, allocations: 0 / 0.7263 GB, free: 10.91 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.0002965/0.3796, allocations: 375.3 kB / 0.7266 GB, free: 10.49 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.3797, allocations: 8.031 kB / 0.7266 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.3797, allocations: 4.938 kB / 0.7266 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.24e-05/0.3798, allocations: 164.4 kB / 0.7268 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.3798, allocations: 384 / 0.7268 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.3798, allocations: 4.375 kB / 0.7268 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.783e-05/0.3799, allocations: 45.81 kB / 0.7268 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-06/0.3799, allocations: 0 / 0.7268 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3799, allocations: 4 kB / 0.7268 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.38, allocations: 0 / 0.7268 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.477e-05/0.38, allocations: 11.98 kB / 0.7268 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.3801, allocations: 151.8 kB / 0.727 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.52e-05/0.3802, allocations: 38.53 kB / 0.727 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.3802, allocations: 16.91 kB / 0.727 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-06/0.3802, allocations: 0 / 0.727 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.3803, allocations: 34.5 kB / 0.7271 GB, free: 9.906 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.3803, allocations: 3.938 kB / 0.7271 GB, free: 9.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001338/0.3804, allocations: 53.69 kB / 0.7271 GB, free: 9.844 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.3804, allocations: 55.34 kB / 0.7272 GB, free: 9.777 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.3805, allocations: 106 kB / 0.7273 GB, free: 9.664 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.3806, allocations: 29.69 kB / 0.7273 GB, free: 9.629 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.3806, allocations: 80.14 kB / 0.7274 GB, free: 9.547 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.3806, allocations: 3.906 kB / 0.7274 GB, free: 9.543 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.3806, allocations: 13.72 kB / 0.7274 GB, free: 9.523 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.3808, allocations: 318.8 kB / 0.7277 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.3809, allocations: 11.94 kB / 0.7277 GB, free: 9.191 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.377e-05/0.3809, allocations: 4 kB / 0.7277 GB, free: 9.188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.3809, allocations: 25.03 kB / 0.7277 GB, free: 9.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3809, allocations: 0 / 0.7277 GB, free: 9.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.274e-05/0.381, allocations: 57.56 kB / 0.7278 GB, free: 9.098 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.381, allocations: 11.98 kB / 0.7278 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.381, allocations: 0 / 0.7278 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.381, allocations: 0 / 0.7278 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.381, allocations: 0 / 0.7278 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.3811, allocations: 0 / 0.7278 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.203e-05/0.3811, allocations: 0 / 0.7278 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3811, allocations: 8.031 kB / 0.7278 GB, free: 9.078 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 7.917e-05/0.3812, allocations: 105.8 kB / 0.7279 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.3812, allocations: 11.84 kB / 0.7279 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.834e-06/0.3812, allocations: 3.125 kB / 0.7279 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.3812, allocations: 3.984 kB / 0.7279 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3812, allocations: 4 kB / 0.7279 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.3812, allocations: 0 / 0.7279 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.947e-05/0.3813, allocations: 161.6 kB / 0.7281 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3813, allocations: 0 / 0.7281 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-06/0.3813, allocations: 7.938 kB / 0.7281 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.3813, allocations: 0 / 0.7281 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3814, allocations: 4 kB / 0.7281 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.3814, allocations: 0 / 0.7281 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3814, allocations: 0 / 0.7281 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.675e-05/0.3815, allocations: 73.06 kB / 0.7282 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.3815, allocations: 93.02 kB / 0.7283 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.3815, allocations: 3.938 kB / 0.7283 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.521e-05/0.3816, allocations: 8.031 kB / 0.7283 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.3816, allocations: 4 kB / 0.7283 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.3816, allocations: 0 / 0.7283 GB, free: 8.508 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.676e-05/0.3817, allocations: 83.27 kB / 0.7284 GB, free: 8.426 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3817, allocations: 0 / 0.7284 GB, free: 8.426 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002339/0.3819, allocations: 55.98 kB / 0.7284 GB, free: 8.371 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.0004874/0.3824, allocations: 297.4 kB / 0.7287 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.275e-05/0.3825, allocations: 20 kB / 0.7287 GB, free: 8.109 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3825, allocations: 0 / 0.7287 GB, free: 8.109 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.015e-05/0.3825, allocations: 11.92 kB / 0.7287 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.3826, allocations: 4 kB / 0.7287 GB, free: 8.094 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.3829, allocations: 125 kB / 0.7289 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.3831, allocations: 0.6768 MB / 0.7295 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.092e-05/0.3832, allocations: 15.91 kB / 0.7295 GB, free: 7.227 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.3832, allocations: 19.42 kB / 0.7295 GB, free: 7.207 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.3832, allocations: 0 / 0.7295 GB, free: 7.207 MB / 0.545 GB Notification: Performance of Templates: time 0.003213/0.3865, allocations: 1.549 MB / 0.7311 GB, free: 5.691 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (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)