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.004726/0.004726, allocations: 100.4 kB / 15.73 MB, free: 5.98 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.001159/0.001159, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.5 MB, free: 4.496 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.339/1.339, allocations: 251.7 MB / 0.5094 GB, free: 3.023 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.001298/0.001298, allocations: 67.91 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1638, 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.Exchange): time 0.001594/0.1654, allocations: 0.5427 MB / 0.8286 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.167, allocations: 1.281 MB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.167, allocations: 0 / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.048e-05/0.1671, allocations: 4 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.811e-05/0.1672, 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.0006681/0.1679, allocations: 295.2 kB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.168, allocations: 79.88 kB / 0.8302 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.168, allocations: 4 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.241e-05/0.1681, allocations: 35.91 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.2e-05/0.1682, allocations: 43.89 kB / 0.8303 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.1682, allocations: 4 kB / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.1686, allocations: 239.5 kB / 0.8305 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.1686, allocations: 3.984 kB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/0.1687, allocations: 31.8 kB / 0.8305 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.169, allocations: 275.5 kB / 0.8308 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.169, allocations: 0 / 0.8308 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.169, allocations: 0 / 0.8308 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.169, allocations: 0 / 0.8308 GB, free: 13.38 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.0003985/0.1694, allocations: 453 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.1695, allocations: 12.03 kB / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.1695, allocations: 12.84 kB / 0.8312 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.1697, allocations: 176.3 kB / 0.8314 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1697, allocations: 384 / 0.8314 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.1697, allocations: 12.36 kB / 0.8314 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1699, allocations: 121.7 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-06/0.1699, allocations: 0 / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.1699, allocations: 4 kB / 0.8315 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1699, allocations: 0 / 0.8315 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1701, allocations: 67.94 kB / 0.8316 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.1702, allocations: 153.7 kB / 0.8318 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.1703, allocations: 122.5 kB / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.1705, allocations: 108.9 kB / 0.832 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.1705, allocations: 0 / 0.832 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.1705, allocations: 34.5 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.1705, allocations: 0 / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0004552/0.171, allocations: 299.1 kB / 0.8323 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.171, allocations: 93.05 kB / 0.8324 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.568e-05/0.1711, allocations: 125.7 kB / 0.8325 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1712, allocations: 29.7 kB / 0.8325 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.1712, allocations: 84.14 kB / 0.8326 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.1712, allocations: 19.8 kB / 0.8326 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.1713, allocations: 41.7 kB / 0.8327 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.1714, allocations: 314.8 kB / 0.833 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.445e-05/0.1715, allocations: 63.98 kB / 0.833 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.648e-05/0.1716, allocations: 63.94 kB / 0.8331 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.1718, allocations: 184.1 kB / 0.8333 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1718, allocations: 384 / 0.8333 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000302/0.1721, allocations: 231.1 kB / 0.8335 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.1722, allocations: 45.69 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1722, allocations: 0 / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1722, allocations: 3.938 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.1722, allocations: 4 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1722, allocations: 0 / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.1725, allocations: 35.86 kB / 0.8336 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.1725, 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.0001181/0.1726, allocations: 159.5 kB / 0.8337 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.1727, allocations: 15.84 kB / 0.8338 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.292e-05/0.1727, allocations: 12.36 kB / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1727, allocations: 0 / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1727, allocations: 4 kB / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1727, allocations: 0 / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.1728, allocations: 169.6 kB / 0.8339 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.1728, allocations: 0 / 0.8339 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-06/0.1728, allocations: 3.938 kB / 0.8339 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1729, allocations: 4 kB / 0.8339 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.1729, allocations: 11.98 kB / 0.834 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1729, allocations: 256 / 0.834 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1729, allocations: 4 kB / 0.834 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.1733, allocations: 290.5 kB / 0.8342 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.1733, allocations: 81.08 kB / 0.8343 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.1733, allocations: 12 kB / 0.8343 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.1735, allocations: 19.97 kB / 0.8343 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.1736, allocations: 11.98 kB / 0.8344 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.1736, allocations: 12 kB / 0.8344 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.001e-05/0.1737, allocations: 95.27 kB / 0.8345 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.1737, allocations: 0 / 0.8345 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003148/0.174, allocations: 99.81 kB / 0.8346 GB, free: 9.152 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.000698/0.1747, allocations: 404.3 kB / 0.8349 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003497/0.1751, allocations: 287.3 kB / 0.8352 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.1751, allocations: 4 kB / 0.8352 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.1753, allocations: 215.2 kB / 0.8354 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.1754, allocations: 12 kB / 0.8354 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.1758, allocations: 232.8 kB / 0.8357 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.1761, allocations: 0.6924 MB / 0.8363 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.399e-05/0.1761, allocations: 48.12 kB / 0.8364 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.302e-05/0.1762, allocations: 15.42 kB / 0.8364 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of SimCode: time 2.81e-07/0.1762, allocations: 0 / 0.8364 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of Templates: time 0.006308/0.1825, allocations: 4.079 MB / 0.8404 GB, free: 3.25 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)