Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.582/1.582, allocations: 288.4 MB / 304.3 MB, free: 8.055 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 184.4 kB / 373 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.4 MB / 0.6317 GB, free: 9.812 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007153/0.0007156, allocations: 96.67 kB / 0.745 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 12.28 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2086, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6603/0.8689, allocations: 141 MB / 1.118 GB, free: 16.58 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.8693, allocations: 88.39 kB / 1.119 GB, free: 16.58 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02531/0.8946, allocations: 10.96 MB / 1.129 GB, free: 31.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8946, allocations: 0 / 1.129 GB, free: 31.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.8947, allocations: 0 / 1.129 GB, free: 31.25 MB / 0.698 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.0004646/0.8951, allocations: 435.7 kB / 1.13 GB, free: 30.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.8952, allocations: 15.55 kB / 1.13 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.8952, allocations: 11.34 kB / 1.13 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.8954, allocations: 175.6 kB / 1.13 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.8954, allocations: 4.25 kB / 1.13 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.8954, allocations: 4.188 kB / 1.13 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.8956, allocations: 132.7 kB / 1.13 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.8956, allocations: 4.125 kB / 1.13 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.8957, allocations: 3.938 kB / 1.13 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8957, allocations: 3.984 kB / 1.13 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.316e-05/0.8958, allocations: 60.42 kB / 1.13 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.8959, allocations: 164.7 kB / 1.13 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.8961, allocations: 113.9 kB / 1.13 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.8962, allocations: 99.81 kB / 1.13 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.8962, allocations: 4 kB / 1.13 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.8962, allocations: 34 kB / 1.13 GB, free: 30.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.8962, allocations: 0 / 1.13 GB, free: 30.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0004319/0.8967, allocations: 297.8 kB / 1.131 GB, free: 30.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.8967, allocations: 96.16 kB / 1.131 GB, free: 29.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.8968, allocations: 127.4 kB / 1.131 GB, free: 29.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.8969, allocations: 29.67 kB / 1.131 GB, free: 29.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.8969, allocations: 91.53 kB / 1.131 GB, free: 29.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.897, allocations: 15.53 kB / 1.131 GB, free: 29.74 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.897, allocations: 0 / 1.131 GB, free: 29.74 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8971, allocations: 318.1 kB / 1.131 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.204e-05/0.8972, allocations: 59.25 kB / 1.131 GB, free: 29.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.207e-05/0.8973, allocations: 65.38 kB / 1.131 GB, free: 29.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.8974, allocations: 182.2 kB / 1.132 GB, free: 29.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8974, allocations: 0 / 1.132 GB, free: 29.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002561/0.8977, allocations: 230.8 kB / 1.132 GB, free: 29.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.8977, allocations: 41.41 kB / 1.132 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.8978, allocations: 7.938 kB / 1.132 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.8978, allocations: 0 / 1.132 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.864e-06/0.8978, allocations: 3.875 kB / 1.132 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.8978, allocations: 0 / 1.132 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.898, allocations: 18.52 kB / 1.132 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.898, allocations: 11.67 kB / 1.132 GB, free: 29.14 MB / 0.698 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 (yI1[1],yI2[1],yI2[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.8982, allocations: 163.2 kB / 1.132 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.8982, allocations: 15.58 kB / 1.132 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.539e-05/0.8982, allocations: 15.31 kB / 1.132 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.8982, allocations: 0 / 1.132 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.8982, allocations: 0 / 1.132 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8983, allocations: 3.844 kB / 1.132 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.8984, allocations: 172.8 kB / 1.132 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8984, allocations: 0 / 1.132 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.8984, allocations: 3.938 kB / 1.132 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.8984, allocations: 3.875 kB / 1.132 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.8984, allocations: 19.3 kB / 1.132 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.8984, allocations: 0 / 1.132 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8984, allocations: 0 / 1.132 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.8987, allocations: 288.3 kB / 1.133 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.8988, allocations: 96.22 kB / 1.133 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.8989, allocations: 7.781 kB / 1.133 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.8991, allocations: 15.52 kB / 1.133 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.8991, allocations: 11.17 kB / 1.133 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.8991, allocations: 15.58 kB / 1.133 GB, free: 28.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.833e-05/0.8992, allocations: 105.3 kB / 1.133 GB, free: 28.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8992, allocations: 0 / 1.133 GB, free: 28.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003834/0.8996, allocations: 111.5 kB / 1.133 GB, free: 28.38 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007781/0.9004, allocations: 408.5 kB / 1.133 GB, free: 28.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003151/0.9007, allocations: 289.4 kB / 1.134 GB, free: 28.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9007, allocations: 0 / 1.134 GB, free: 28.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.9009, allocations: 212 kB / 1.134 GB, free: 27.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.901, allocations: 9.375 kB / 1.134 GB, free: 27.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009564/0.902, allocations: 0.5211 MB / 1.134 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.9023, allocations: 0.6884 MB / 1.135 GB, free: 26.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.724e-05/0.9023, allocations: 50.22 kB / 1.135 GB, free: 26.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.145e-05/0.9023, allocations: 11.42 kB / 1.135 GB, free: 26.96 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.9023, allocations: 0 / 1.135 GB, free: 26.96 MB / 0.698 GB Notification: Performance of Templates: time 0.005777/0.9081, allocations: 3.884 MB / 1.139 GB, free: 25 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)