Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.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.257/1.257, allocations: 251.5 MB / 267.4 MB, free: 10.85 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.0009148/0.0009148, allocations: 170 kB / 326.5 MB, free: 2.66 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.362/1.362, allocations: 205 MB / 0.5767 GB, free: 20.99 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.0006495/0.0006496, allocations: 82.38 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002714, allocations: 8.625 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1519, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.000647/0.1526, allocations: 282.5 kB / 0.897 GB, free: 67.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.154, allocations: 1.286 MB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.668e-05/0.154, allocations: 4 kB / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.264e-05/0.1541, allocations: 3.938 kB / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.828e-05/0.1541, allocations: 3.938 kB / 0.8983 GB, free: 66.61 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.1546, allocations: 263.5 kB / 0.8985 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.078e-05/0.1547, allocations: 67.89 kB / 0.8986 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.1547, allocations: 11.92 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.267e-05/0.1547, allocations: 35.91 kB / 0.8987 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.053e-05/0.1548, allocations: 43.89 kB / 0.8987 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1548, allocations: 0 / 0.8987 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002868/0.1551, allocations: 207.6 kB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.1551, allocations: 11.94 kB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.1552, allocations: 35.89 kB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.1554, allocations: 283.4 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1554, allocations: 4 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1555, allocations: 0 / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.1555, allocations: 0 / 0.8992 GB, free: 65.66 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.0002642/0.1557, allocations: 415 kB / 0.8996 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1558, allocations: 12.03 kB / 0.8996 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.1558, allocations: 8.844 kB / 0.8996 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.947e-05/0.1559, allocations: 176.4 kB / 0.8998 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1559, allocations: 8.375 kB / 0.8998 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.156, allocations: 8.375 kB / 0.8998 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1561, allocations: 125.7 kB / 0.8999 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1561, allocations: 7.938 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1562, allocations: 0 / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-06/0.1562, allocations: 0 / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.231e-05/0.1563, allocations: 59.95 kB / 0.9 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001001/0.1564, allocations: 157.7 kB / 0.9002 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.1565, allocations: 122.6 kB / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/0.1566, allocations: 96.91 kB / 0.9004 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.1566, allocations: 0 / 0.9004 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.1566, allocations: 34.5 kB / 0.9004 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1566, allocations: 3.984 kB / 0.9004 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0003717/0.157, allocations: 299 kB / 0.9007 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.157, allocations: 89.09 kB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.1571, allocations: 133.6 kB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1571, allocations: 33.7 kB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.78e-05/0.1571, allocations: 84.14 kB / 0.901 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.1572, allocations: 11.81 kB / 0.901 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.1572, allocations: 21.72 kB / 0.901 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.648e-05/0.1572, allocations: 314.8 kB / 0.9013 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.14e-05/0.1573, allocations: 55.95 kB / 0.9014 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.1574, allocations: 67.94 kB / 0.9015 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1575, allocations: 184.1 kB / 0.9016 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1575, allocations: 4.031 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002325/0.1578, allocations: 223.3 kB / 0.9018 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.1578, allocations: 49.62 kB / 0.9019 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.1578, allocations: 0 / 0.9019 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1578, allocations: 0 / 0.9019 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.1579, allocations: 7.938 kB / 0.9019 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.1579, allocations: 0 / 0.9019 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.1581, allocations: 27.81 kB / 0.9019 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.1582, allocations: 15.98 kB / 0.9019 GB, free: 62.6 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 8.533e-05/0.1582, allocations: 167.5 kB / 0.9021 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.1583, allocations: 15.84 kB / 0.9021 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.917e-06/0.1583, allocations: 4.375 kB / 0.9021 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1583, allocations: 4 kB / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1583, allocations: 0 / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.1583, allocations: 77.36 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.1584, allocations: 4 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.1585, allocations: 23.97 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.1586, allocations: 19.92 kB / 0.9022 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002718/0.1588, allocations: 397.9 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002855/0.1591, allocations: 436.2 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001127/0.1593, allocations: 139.9 kB / 0.9032 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.846e-05/0.1593, allocations: 95.58 kB / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of Backend: time 2.41e-07/0.1593, allocations: 0 / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009953/0.1603, allocations: 0.6052 MB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002681/0.1606, allocations: 0.6632 MB / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.004902/0.1655, allocations: 3.924 MB / 0.9083 GB, free: 56.02 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)