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.Exchange.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.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004255/0.004255, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.0009993/0.0009994, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.15/1.15, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.325/1.325, allocations: 251.7 MB / 0.5094 GB, free: 3.004 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.001288/0.001288, allocations: 63.91 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1621, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.001647/0.1638, allocations: 0.5583 MB / 0.8286 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.1654, allocations: 1.273 MB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.1655, allocations: 0 / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.31e-05/0.1656, allocations: 4 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.7e-05/0.1656, allocations: 3.938 kB / 0.8298 GB, free: 14.38 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.0006897/0.1663, allocations: 295.2 kB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.1664, allocations: 75.86 kB / 0.8302 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.1665, allocations: 0 / 0.8302 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.649e-05/0.1665, allocations: 47.89 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.575e-05/0.1666, allocations: 43.84 kB / 0.8303 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.1667, allocations: 4 kB / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003991/0.1671, allocations: 235.6 kB / 0.8305 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.1671, allocations: 0 / 0.8305 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/0.1672, allocations: 35.84 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.1675, allocations: 271.2 kB / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.1675, allocations: 4 kB / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1675, allocations: 0 / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.1675, allocations: 0 / 0.8308 GB, free: 13.39 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003984/0.1679, allocations: 448.5 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.168, allocations: 8.031 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.168, allocations: 12.89 kB / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.1682, allocations: 184.3 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.1682, allocations: 384 / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.1682, allocations: 8.375 kB / 0.8314 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.1684, allocations: 125.7 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.1684, allocations: 0 / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1684, allocations: 4 kB / 0.8316 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1684, allocations: 3.938 kB / 0.8316 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1686, allocations: 67.94 kB / 0.8316 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.1687, allocations: 165.6 kB / 0.8318 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1689, allocations: 118.5 kB / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.169, allocations: 104.9 kB / 0.832 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-06/0.169, allocations: 0 / 0.832 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.169, allocations: 34.5 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.169, allocations: 4 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0004547/0.1695, allocations: 291.2 kB / 0.8323 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.1695, allocations: 89.09 kB / 0.8324 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/0.1696, allocations: 129.7 kB / 0.8325 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1697, allocations: 29.7 kB / 0.8325 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.1697, allocations: 88.12 kB / 0.8326 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.1697, allocations: 11.91 kB / 0.8326 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/0.1698, allocations: 45.69 kB / 0.8327 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.1699, allocations: 322.8 kB / 0.833 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.158e-05/0.17, allocations: 59.94 kB / 0.833 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.1701, allocations: 63.95 kB / 0.8331 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.1703, allocations: 180.2 kB / 0.8333 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1703, allocations: 0 / 0.8333 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003053/0.1706, allocations: 235.4 kB / 0.8335 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/0.1707, allocations: 41.69 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1707, allocations: 0 / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1707, allocations: 3.938 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-06/0.1707, allocations: 7.984 kB / 0.8336 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.1707, allocations: 4.062 kB / 0.8336 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.171, allocations: 27.88 kB / 0.8336 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.171, allocations: 15.98 kB / 0.8336 GB, free: 10.25 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: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001197/0.1712, allocations: 163.5 kB / 0.8338 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.1712, allocations: 15.89 kB / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.498e-06/0.1712, allocations: 4.375 kB / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1712, allocations: 0 / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1712, allocations: 4.375 kB / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.1712, allocations: 4 kB / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.1713, allocations: 165.6 kB / 0.8339 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1713, allocations: 0 / 0.8339 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.834e-06/0.1714, allocations: 7.875 kB / 0.8339 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1714, allocations: 4 kB / 0.834 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.1714, allocations: 15.98 kB / 0.834 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1714, allocations: 0 / 0.834 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1714, allocations: 0 / 0.834 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.1718, allocations: 294.6 kB / 0.8342 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.1718, allocations: 81.05 kB / 0.8343 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.1719, allocations: 11.98 kB / 0.8343 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.172, allocations: 15.98 kB / 0.8344 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.1721, allocations: 7.984 kB / 0.8344 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.1721, allocations: 19.98 kB / 0.8344 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.86e-05/0.1722, allocations: 95.27 kB / 0.8345 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1722, allocations: 0 / 0.8345 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003096/0.1725, allocations: 91.62 kB / 0.8346 GB, free: 9.156 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: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.009624/0.1821, allocations: 411.8 kB / 0.835 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003742/0.1825, allocations: 287.2 kB / 0.8352 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1825, allocations: 0 / 0.8352 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.1827, allocations: 211.3 kB / 0.8354 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.1829, allocations: 8 kB / 0.8354 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.1833, allocations: 256.6 kB / 0.8357 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.1835, allocations: 0.6844 MB / 0.8363 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.028e-05/0.1836, allocations: 51.86 kB / 0.8364 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.304e-05/0.1836, allocations: 11.44 kB / 0.8364 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of SimCode: time 2.7e-07/0.1836, allocations: 0 / 0.8364 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of Templates: time 0.006127/0.1897, allocations: 4.043 MB / 0.8404 GB, free: 3.281 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)