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.004077/0.004077, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.0009536/0.0009536, allocations: 197.1 kB / 16.68 MB, free: 5.93 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.173/1.173, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.32/1.32, allocations: 251.7 MB / 0.5094 GB, free: 2.992 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.001261/0.001261, allocations: 75.89 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1582, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.001467/0.1597, allocations: 0.5388 MB / 0.8286 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.1609, allocations: 1.133 MB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.1609, allocations: 0 / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.614e-05/0.161, allocations: 8 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.459e-05/0.1611, allocations: 0 / 0.8297 GB, free: 14.5 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.0004449/0.1615, allocations: 175.3 kB / 0.8298 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.723e-05/0.1616, allocations: 19.91 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.264e-05/0.1616, allocations: 0 / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.906e-05/0.1616, allocations: 8 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.1617, allocations: 15.92 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1617, allocations: 0 / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.162, allocations: 199.6 kB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.1621, allocations: 4 kB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.1621, allocations: 7.984 kB / 0.8301 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1623, allocations: 191.7 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1623, allocations: 0 / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1623, allocations: 0 / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1623, allocations: 0 / 0.8303 GB, free: 13.89 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.0003114/0.1627, allocations: 379.3 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.1627, allocations: 12.03 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.1627, allocations: 0.9375 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.113e-05/0.1628, allocations: 164.4 kB / 0.8308 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.1628, allocations: 384 / 0.8308 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-06/0.1629, allocations: 4.375 kB / 0.8308 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.163, allocations: 41.81 kB / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.163, allocations: 0 / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.163, allocations: 0 / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.163, allocations: 8 kB / 0.8309 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.482e-05/0.163, allocations: 11.92 kB / 0.8309 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.1632, allocations: 149.7 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.225e-05/0.1633, allocations: 30.59 kB / 0.831 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.351e-05/0.1633, allocations: 16.91 kB / 0.831 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.1633, allocations: 3.938 kB / 0.8311 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1633, allocations: 42.5 kB / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1633, allocations: 0 / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.000144/0.1635, allocations: 57.62 kB / 0.8311 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.1635, allocations: 51.41 kB / 0.8312 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.82e-05/0.1636, allocations: 97.84 kB / 0.8313 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.1636, allocations: 25.7 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.445e-05/0.1636, allocations: 80.14 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.1636, allocations: 8.141 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.1637, allocations: 17.72 kB / 0.8314 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.1638, allocations: 322.8 kB / 0.8317 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.1638, allocations: 4 kB / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.504e-05/0.1638, allocations: 8 kB / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/0.1638, allocations: 24.84 kB / 0.8318 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1639, allocations: 7.938 kB / 0.8318 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.262e-05/0.1639, allocations: 49.62 kB / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.1639, allocations: 12.03 kB / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.164, allocations: 3.984 kB / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.164, allocations: 0 / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.164, allocations: 0 / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.164, allocations: 0 / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.164, allocations: 4 kB / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.164, allocations: 0 / 0.8318 GB, free: 12.07 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.765e-05/0.1641, allocations: 109.8 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.1641, allocations: 7.844 kB / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.387e-06/0.1641, allocations: 7.125 kB / 0.832 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.1641, allocations: 7.984 kB / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1641, allocations: 0 / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.1641, allocations: 0 / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.262e-05/0.1642, allocations: 153.7 kB / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1642, allocations: 0 / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-06/0.1643, allocations: 3.938 kB / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1643, allocations: 0 / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.1643, allocations: 7.984 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1643, allocations: 0 / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1643, allocations: 3.938 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.671e-05/0.1644, allocations: 81.06 kB / 0.8322 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.846e-05/0.1644, allocations: 85.03 kB / 0.8323 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.1644, allocations: 0 / 0.8323 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.1645, allocations: 0 / 0.8323 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.1645, allocations: 4 kB / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.1645, allocations: 4 kB / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.095e-05/0.1646, allocations: 83.3 kB / 0.8324 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1646, allocations: 0 / 0.8324 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002592/0.1648, allocations: 55.98 kB / 0.8324 GB, free: 11.36 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.0004952/0.1653, allocations: 307.2 kB / 0.8327 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.948e-05/0.1654, allocations: 31.92 kB / 0.8327 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1654, allocations: 0 / 0.8327 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.088e-05/0.1655, allocations: 11.98 kB / 0.8328 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.1656, allocations: 1.828 kB / 0.8328 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.1658, allocations: 101 kB / 0.8329 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.166, allocations: 0.6805 MB / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.962e-05/0.1661, allocations: 15.98 kB / 0.8335 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.1661, allocations: 23.55 kB / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.1661, allocations: 0 / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.003297/0.1694, allocations: 1.568 MB / 0.8351 GB, free: 8.668 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)