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.00472/0.00472, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001193/0.001193, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.153/1.153, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.328/1.328, allocations: 251.7 MB / 0.5094 GB, free: 2.98 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.001233/0.001233, allocations: 73.78 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1546, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.001424/0.156, allocations: 0.5311 MB / 0.8286 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1572, allocations: 1.132 MB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.95e-05/0.1572, allocations: 4 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.28e-05/0.1573, allocations: 4 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.798e-05/0.1573, allocations: 11.92 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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.Strings.replace'. Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.1578, allocations: 171.4 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.651e-05/0.1578, allocations: 11.98 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.104e-05/0.1579, allocations: 4 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.663e-05/0.1579, allocations: 4 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.292e-05/0.1579, allocations: 11.92 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.158, allocations: 11.92 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.1583, allocations: 187.7 kB / 0.8301 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.1583, allocations: 11.98 kB / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.1583, allocations: 11.98 kB / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.1585, allocations: 187.7 kB / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1586, allocations: 0 / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.113e-06/0.1586, allocations: 0 / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.1586, allocations: 0 / 0.8303 GB, free: 13.92 MB / 0.6544 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.0002845/0.1589, allocations: 371.3 kB / 0.8306 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.653e-05/0.1589, allocations: 12.03 kB / 0.8306 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.1589, allocations: 0.9375 kB / 0.8306 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.629e-05/0.159, allocations: 164.4 kB / 0.8308 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.159, allocations: 8.375 kB / 0.8308 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-06/0.159, allocations: 384 / 0.8308 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.061e-05/0.1591, allocations: 49.75 kB / 0.8308 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-06/0.1591, allocations: 0 / 0.8308 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.1592, allocations: 0 / 0.8308 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.1592, allocations: 4 kB / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.543e-05/0.1592, allocations: 11.98 kB / 0.8309 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.1593, allocations: 153.7 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.206e-05/0.1594, allocations: 34.61 kB / 0.831 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/0.1594, allocations: 12.91 kB / 0.8311 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.1594, allocations: 7.938 kB / 0.8311 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.1595, allocations: 38.44 kB / 0.8311 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.1595, allocations: 0 / 0.8311 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001378/0.1596, allocations: 53.69 kB / 0.8311 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.1597, allocations: 55.52 kB / 0.8312 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.208e-05/0.1597, allocations: 97.86 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.1597, allocations: 25.7 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.138e-05/0.1598, allocations: 80.14 kB / 0.8314 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1598, allocations: 11.91 kB / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.1598, allocations: 17.7 kB / 0.8314 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.1599, allocations: 314.8 kB / 0.8317 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.1599, allocations: 4 kB / 0.8317 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.511e-05/0.1599, allocations: 16.11 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.1e-05/0.16, allocations: 24.8 kB / 0.8318 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.16, allocations: 0 / 0.8318 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.233e-05/0.1601, allocations: 53.61 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.1601, allocations: 4 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1601, allocations: 0 / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.1601, allocations: 0 / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.793e-06/0.1601, allocations: 4 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1601, allocations: 0 / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.151e-05/0.1601, allocations: 4.094 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1601, allocations: 0 / 0.8318 GB, free: 12.1 MB / 0.6544 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.489e-05/0.1602, allocations: 117.8 kB / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.1602, allocations: 7.844 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.026e-05/0.1602, allocations: 7.109 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.1603, allocations: 4 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1603, allocations: 0 / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1603, allocations: 3.938 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.107e-05/0.1604, allocations: 149.7 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1604, allocations: 4 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-06/0.1604, allocations: 7.938 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1604, allocations: 3.984 kB / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1604, allocations: 0 / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1604, allocations: 0 / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1604, allocations: 0 / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.457e-05/0.1605, allocations: 81.05 kB / 0.8322 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.1605, allocations: 81.05 kB / 0.8323 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.1605, allocations: 4.031 kB / 0.8323 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.052e-05/0.1606, allocations: 4 kB / 0.8323 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.1606, allocations: 0 / 0.8323 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.1606, allocations: 8 kB / 0.8323 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.756e-05/0.1607, allocations: 79.27 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1607, allocations: 0 / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002397/0.1609, allocations: 55.98 kB / 0.8324 GB, free: 11.39 MB / 0.6544 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.00048/0.1614, allocations: 321.2 kB / 0.8327 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.089e-05/0.1615, allocations: 15.98 kB / 0.8327 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1615, allocations: 0 / 0.8327 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-05/0.1615, allocations: 11.98 kB / 0.8328 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.1616, allocations: 3.438 kB / 0.8328 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/0.1619, allocations: 113.1 kB / 0.8329 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.1621, allocations: 0.6727 MB / 0.8335 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.565e-05/0.1621, allocations: 15.98 kB / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.1622, allocations: 19.42 kB / 0.8336 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.1622, allocations: 0 / 0.8336 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.003236/0.1654, allocations: 1.57 MB / 0.8351 GB, free: 8.691 MB / 0.6544 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)