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.004472/0.004472, allocations: 107.3 kB / 15.74 MB, free: 6.039 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.001156/0.001156, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.6 MB, free: 4.535 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.31/1.31, allocations: 251.7 MB / 0.5094 GB, free: 3.062 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.001229/0.00123, allocations: 67.91 kB / 0.7258 GB, free: 9.156 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1569, allocations: 104.7 MB / 0.828 GB, free: 356 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.001505/0.1585, allocations: 0.5504 MB / 0.8286 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1599, allocations: 1.284 MB / 0.8298 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.857e-05/0.16, allocations: 0 / 0.8298 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.315e-05/0.16, allocations: 0 / 0.8298 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.653e-05/0.1601, allocations: 3.938 kB / 0.8298 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.000592/0.1607, allocations: 291.2 kB / 0.8301 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.1608, allocations: 79.88 kB / 0.8302 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.546e-05/0.1608, allocations: 7.984 kB / 0.8302 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.1609, allocations: 39.91 kB / 0.8302 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.161, allocations: 35.91 kB / 0.8303 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.161, allocations: 7.938 kB / 0.8303 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.1613, allocations: 231.6 kB / 0.8305 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.1614, allocations: 7.984 kB / 0.8305 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.1614, allocations: 31.8 kB / 0.8305 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.1617, allocations: 279.5 kB / 0.8308 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1617, allocations: 4 kB / 0.8308 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 6.231e-06/0.1617, allocations: 4 kB / 0.8308 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.1618, allocations: 0 / 0.8308 GB, free: 13.5 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.0003767/0.1621, allocations: 441 kB / 0.8312 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.1622, allocations: 12.03 kB / 0.8312 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.1622, allocations: 12.83 kB / 0.8312 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1624, allocations: 180.3 kB / 0.8314 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1624, allocations: 4.375 kB / 0.8314 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1624, allocations: 4.375 kB / 0.8314 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.1626, allocations: 129.7 kB / 0.8316 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1626, allocations: 0 / 0.8316 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.1626, allocations: 0 / 0.8316 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1626, allocations: 7.984 kB / 0.8316 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.352e-05/0.1627, allocations: 55.95 kB / 0.8316 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.1629, allocations: 157.7 kB / 0.8318 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.163, allocations: 126.5 kB / 0.8319 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1631, allocations: 104.9 kB / 0.832 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-06/0.1631, allocations: 0 / 0.832 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1632, allocations: 42.5 kB / 0.832 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.1632, allocations: 0 / 0.832 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0004293/0.1636, allocations: 287.1 kB / 0.8323 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1637, allocations: 97.03 kB / 0.8324 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.184e-05/0.1637, allocations: 121.7 kB / 0.8325 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1638, allocations: 29.7 kB / 0.8325 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.1638, allocations: 92.16 kB / 0.8326 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.1638, allocations: 15.81 kB / 0.8326 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.586e-05/0.1639, allocations: 45.69 kB / 0.8327 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.164, allocations: 310.8 kB / 0.833 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.045e-05/0.1641, allocations: 63.94 kB / 0.833 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.695e-05/0.1642, allocations: 63.89 kB / 0.8331 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.1644, allocations: 180.2 kB / 0.8333 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1644, allocations: 0.625 kB / 0.8333 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002871/0.1647, allocations: 235.2 kB / 0.8335 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.1647, allocations: 53.69 kB / 0.8335 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1647, allocations: 3.984 kB / 0.8336 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1647, allocations: 3.938 kB / 0.8336 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.1648, allocations: 0 / 0.8336 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.1648, allocations: 0 / 0.8336 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.165, allocations: 23.83 kB / 0.8336 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.1651, allocations: 15.98 kB / 0.8336 GB, free: 10.38 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.0001128/0.1652, allocations: 163.5 kB / 0.8337 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.1652, allocations: 19.84 kB / 0.8338 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.045e-05/0.1652, allocations: 8.375 kB / 0.8338 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1652, allocations: 0 / 0.8338 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.1652, allocations: 0 / 0.8338 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1652, allocations: 0 / 0.8338 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.734e-05/0.1653, allocations: 173.6 kB / 0.8339 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1654, allocations: 0 / 0.8339 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-06/0.1654, allocations: 3.938 kB / 0.8339 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1654, allocations: 0 / 0.8339 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.1654, allocations: 11.98 kB / 0.834 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1654, allocations: 0 / 0.834 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1654, allocations: 4 kB / 0.834 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.1658, allocations: 290.5 kB / 0.8342 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.1658, allocations: 85.05 kB / 0.8343 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.1658, allocations: 7.984 kB / 0.8343 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.166, allocations: 15.98 kB / 0.8343 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.1661, allocations: 11.98 kB / 0.8344 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.1661, allocations: 15.98 kB / 0.8344 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.421e-05/0.1661, allocations: 99.3 kB / 0.8345 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1661, allocations: 0 / 0.8345 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002929/0.1664, allocations: 91.83 kB / 0.8346 GB, free: 9.289 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.0006519/0.1671, allocations: 404.5 kB / 0.8349 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.1674, allocations: 287.2 kB / 0.8352 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1674, allocations: 4.062 kB / 0.8352 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.1676, allocations: 215.3 kB / 0.8354 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.1678, allocations: 8 kB / 0.8354 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.1681, allocations: 244.8 kB / 0.8357 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.1683, allocations: 0.6844 MB / 0.8363 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.161e-05/0.1684, allocations: 56.11 kB / 0.8364 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.124e-05/0.1684, allocations: 7.438 kB / 0.8364 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.1684, allocations: 0 / 0.8364 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of Templates: time 0.005778/0.1742, allocations: 4.047 MB / 0.8403 GB, free: 3.418 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)