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.000902/0.0009021, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0008781/0.0008782, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.152/1.152, allocations: 205.1 MB / 222 MB, free: 4.762 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.301/1.301, allocations: 251.6 MB / 0.5088 GB, free: 3.32 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.001147/0.001147, allocations: 63.91 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3491, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.001565/0.3507, allocations: 0.5955 MB / 0.7244 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3519, allocations: 1.116 MB / 0.7255 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.429e-05/0.3519, allocations: 0 / 0.7255 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.051e-05/0.352, allocations: 15.92 kB / 0.7255 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.567e-05/0.352, allocations: 0 / 0.7255 GB, free: 11.43 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.0003479/0.3524, allocations: 143.7 kB / 0.7257 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.838e-05/0.3524, allocations: 15.98 kB / 0.7257 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.957e-05/0.3524, allocations: 4 kB / 0.7257 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.807e-05/0.3525, allocations: 7.984 kB / 0.7257 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.794e-05/0.3525, allocations: 11.92 kB / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.3525, allocations: 0 / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.3528, allocations: 175.7 kB / 0.7259 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.3529, allocations: 7.938 kB / 0.7259 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.3529, allocations: 11.98 kB / 0.7259 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.3531, allocations: 183.7 kB / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3531, allocations: 7.984 kB / 0.7261 GB, free: 10.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.51e-07/0.3531, allocations: 4 kB / 0.7261 GB, free: 10.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.3531, allocations: 0 / 0.7261 GB, free: 10.87 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.0002796/0.3534, allocations: 367.4 kB / 0.7264 GB, free: 10.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.716e-05/0.3535, allocations: 8.031 kB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.3535, allocations: 0.9375 kB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.639e-05/0.3536, allocations: 168.3 kB / 0.7266 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-06/0.3536, allocations: 384 / 0.7266 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.3536, allocations: 384 / 0.7266 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.363e-05/0.3537, allocations: 45.81 kB / 0.7266 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-06/0.3537, allocations: 0 / 0.7266 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3537, allocations: 11.98 kB / 0.7266 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.3537, allocations: 0 / 0.7266 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.337e-05/0.3538, allocations: 4 kB / 0.7266 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.3539, allocations: 159.7 kB / 0.7268 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.317e-05/0.354, allocations: 34.48 kB / 0.7268 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.354, allocations: 24.86 kB / 0.7269 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-06/0.354, allocations: 4 kB / 0.7269 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.354, allocations: 34.5 kB / 0.7269 GB, free: 9.863 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.354, allocations: 0 / 0.7269 GB, free: 9.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001326/0.3542, allocations: 65.66 kB / 0.727 GB, free: 9.793 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.3542, allocations: 51.41 kB / 0.727 GB, free: 9.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.912e-05/0.3543, allocations: 93.8 kB / 0.7271 GB, free: 9.629 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.3543, allocations: 29.95 kB / 0.7271 GB, free: 9.594 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.135e-05/0.3543, allocations: 84.14 kB / 0.7272 GB, free: 9.508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.3543, allocations: 11.83 kB / 0.7272 GB, free: 9.496 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.3544, allocations: 13.72 kB / 0.7272 GB, free: 9.477 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.3544, allocations: 314.8 kB / 0.7275 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.3545, allocations: 4 kB / 0.7275 GB, free: 9.156 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/0.3545, allocations: 11.98 kB / 0.7275 GB, free: 9.145 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.778e-05/0.3545, allocations: 24.84 kB / 0.7276 GB, free: 9.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3545, allocations: 4.062 kB / 0.7276 GB, free: 9.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.046e-05/0.3546, allocations: 49.62 kB / 0.7276 GB, free: 9.059 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.3546, allocations: 4 kB / 0.7276 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3546, allocations: 4 kB / 0.7276 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.3546, allocations: 0 / 0.7276 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.3546, allocations: 3.938 kB / 0.7276 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.3546, allocations: 0 / 0.7276 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.185e-05/0.3547, allocations: 0 / 0.7276 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3547, allocations: 4 kB / 0.7276 GB, free: 9.043 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 5.284e-05/0.3547, allocations: 113.9 kB / 0.7277 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.3548, allocations: 11.84 kB / 0.7277 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.373e-06/0.3548, allocations: 3.125 kB / 0.7278 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.3548, allocations: 0 / 0.7278 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.3548, allocations: 0 / 0.7278 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.3548, allocations: 0 / 0.7278 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.501e-05/0.3549, allocations: 165.6 kB / 0.7279 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3549, allocations: 0 / 0.7279 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-06/0.3549, allocations: 3.938 kB / 0.7279 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.3549, allocations: 0 / 0.7279 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3549, allocations: 4 kB / 0.7279 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3549, allocations: 0 / 0.7279 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3549, allocations: 11.92 kB / 0.7279 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.394e-05/0.355, allocations: 77.06 kB / 0.728 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.355, allocations: 81.05 kB / 0.7281 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.3551, allocations: 4 kB / 0.7281 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.967e-05/0.3551, allocations: 4 kB / 0.7281 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.3551, allocations: 8.016 kB / 0.7281 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.3552, allocations: 4 kB / 0.7281 GB, free: 8.465 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.446e-05/0.3552, allocations: 75.28 kB / 0.7282 GB, free: 8.391 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3552, allocations: 4 kB / 0.7282 GB, free: 8.387 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000231/0.3554, allocations: 55.98 kB / 0.7282 GB, free: 8.332 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.0004888/0.3559, allocations: 310.9 kB / 0.7285 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.321e-05/0.356, allocations: 19.98 kB / 0.7285 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.356, allocations: 0 / 0.7285 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.927e-05/0.356, allocations: 8 kB / 0.7286 GB, free: 8.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.3562, allocations: 14.36 kB / 0.7286 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.3565, allocations: 114.7 kB / 0.7287 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.3566, allocations: 0.6772 MB / 0.7293 GB, free: 7.195 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.526e-05/0.3567, allocations: 15.98 kB / 0.7294 GB, free: 7.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.3568, allocations: 19.42 kB / 0.7294 GB, free: 7.16 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.3568, allocations: 3.938 kB / 0.7294 GB, free: 7.156 MB / 0.545 GB Notification: Performance of Templates: time 0.003003/0.3598, allocations: 1.542 MB / 0.7309 GB, free: 5.652 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)