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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.271/1.271, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009875/0.0009876, allocations: 180.3 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205 MB / 0.5767 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007074/0.0007075, allocations: 93.44 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002984, allocations: 8.438 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1689, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.000759/0.1697, allocations: 282.5 kB / 0.897 GB, free: 67.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1713, allocations: 1.294 MB / 0.8983 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.753e-05/0.1713, allocations: 3.938 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.1714, allocations: 4 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.1715, allocations: 0 / 0.8983 GB, free: 66.59 MB / 0.6042 GB [/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.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.172, allocations: 259.5 kB / 0.8986 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.264e-05/0.1721, allocations: 75.86 kB / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.227e-05/0.1722, allocations: 7.938 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.098e-05/0.1722, allocations: 39.91 kB / 0.8987 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.561e-05/0.1723, allocations: 35.91 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.1723, allocations: 4 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.1727, allocations: 211.6 kB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.1727, allocations: 11.92 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.1728, allocations: 31.86 kB / 0.899 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.173, allocations: 287.4 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.173, allocations: 0 / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1731, allocations: 0 / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1731, allocations: 0 / 0.8992 GB, free: 65.64 MB / 0.6042 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.0003095/0.1734, allocations: 421 kB / 0.8996 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1734, allocations: 8.031 kB / 0.8996 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.1735, allocations: 16.84 kB / 0.8997 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.1736, allocations: 168.4 kB / 0.8998 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1736, allocations: 4.375 kB / 0.8998 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.1737, allocations: 8.375 kB / 0.8998 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1738, allocations: 129.7 kB / 0.9 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1739, allocations: 0 / 0.9 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.1739, allocations: 7.938 kB / 0.9 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.1739, allocations: 0 / 0.9 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.356e-05/0.174, allocations: 55.95 kB / 0.9 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.98e-05/0.1741, allocations: 161.7 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1742, allocations: 114.6 kB / 0.9003 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.93e-05/0.1743, allocations: 100.9 kB / 0.9004 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-06/0.1743, allocations: 8 kB / 0.9004 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.1743, allocations: 38.5 kB / 0.9004 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1743, allocations: 0 / 0.9004 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0003961/0.1747, allocations: 295 kB / 0.9007 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.1748, allocations: 89.09 kB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.1749, allocations: 129.7 kB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1749, allocations: 25.7 kB / 0.9009 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.118e-05/0.1749, allocations: 92.17 kB / 0.901 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.1749, allocations: 11.81 kB / 0.901 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.175, allocations: 17.72 kB / 0.901 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.923e-05/0.175, allocations: 318.8 kB / 0.9014 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.392e-05/0.1751, allocations: 59.95 kB / 0.9014 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.17e-05/0.1752, allocations: 59.94 kB / 0.9015 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.1753, allocations: 184.1 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1753, allocations: 0 / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000243/0.1756, allocations: 231.3 kB / 0.9019 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.1756, allocations: 49.62 kB / 0.9019 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1756, allocations: 0 / 0.9019 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1757, allocations: 4.312 kB / 0.9019 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1757, allocations: 0 / 0.9019 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1757, allocations: 0 / 0.9019 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.1759, allocations: 31.81 kB / 0.9019 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.176, allocations: 15.92 kB / 0.902 GB, free: 62.58 MB / 0.6042 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 9.177e-05/0.1761, allocations: 163.5 kB / 0.9021 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.1761, allocations: 19.88 kB / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.022e-05/0.1761, allocations: 8.375 kB / 0.9021 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1761, allocations: 0 / 0.9021 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1761, allocations: 0 / 0.9021 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.1762, allocations: 77.11 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.1762, allocations: 12 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.1764, allocations: 19.97 kB / 0.9022 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.1764, allocations: 11.92 kB / 0.9023 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002866/0.1767, allocations: 397.9 kB / 0.9026 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000302/0.177, allocations: 440.5 kB / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001176/0.1772, allocations: 143.9 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.866e-05/0.1772, allocations: 99.2 kB / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of Backend: time 3.71e-07/0.1772, allocations: 0 / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006965/0.1842, allocations: 0.5986 MB / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002866/0.1845, allocations: 0.6632 MB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.005445/0.1899, allocations: 3.953 MB / 0.9084 GB, free: 55.98 MB / 0.6042 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)