Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange") translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001263, allocations: 179.3 kB / 498.1 MB, free: 5.727 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001216, allocations: 92.33 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003745, allocations: 7.672 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.312, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.5122, allocations: 152.3 MB / 1.372 GB, free: 9.738 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.5126, allocations: 103.9 kB / 1.372 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02891/0.5415, allocations: 11 MB / 1.382 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.428e-06/0.5415, allocations: 0 / 1.382 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.5416, allocations: 0 / 1.382 GB, free: 14.59 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005732/0.5422, allocations: 445.5 kB / 1.383 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.5422, allocations: 8.031 kB / 1.383 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/0.5423, allocations: 91.14 kB / 1.383 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.5425, allocations: 250.3 kB / 1.383 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.449e-05/0.5426, allocations: 154.6 kB / 1.383 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/0.5427, allocations: 154.6 kB / 1.383 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.095e-05/0.5428, allocations: 105 kB / 1.384 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/0.5428, allocations: 83.27 kB / 1.384 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.564e-05/0.5429, allocations: 150.6 kB / 1.384 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/0.5429, allocations: 158.5 kB / 1.384 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.712e-05/0.543, allocations: 150.6 kB / 1.384 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.5434, allocations: 477.8 kB / 1.385 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.5435, allocations: 169.1 kB / 1.385 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.5435, allocations: 79.22 kB / 1.385 GB, free: 12 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.5436, allocations: 109.8 kB / 1.385 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.5436, allocations: 0 / 1.385 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 0.0001169/0.5437, allocations: 41.61 kB / 1.385 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.5438, allocations: 126.7 kB / 1.385 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.544, allocations: 135.5 kB / 1.385 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.544, allocations: 29.7 kB / 1.385 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.5441, allocations: 96.11 kB / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.5441, allocations: 0 / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.198e-05/0.5442, allocations: 3.938 kB / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5443, allocations: 322.8 kB / 1.386 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.5444, allocations: 63.94 kB / 1.386 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.297e-05/0.5445, allocations: 59.95 kB / 1.386 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.5446, allocations: 85.66 kB / 1.386 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5447, allocations: 3.938 kB / 1.386 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003746/0.545, allocations: 215.2 kB / 1.386 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.5451, allocations: 41.69 kB / 1.386 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5451, allocations: 0 / 1.386 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.5451, allocations: 0 / 1.386 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-06/0.5451, allocations: 4 kB / 1.386 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5451, allocations: 0 / 1.386 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.5454, allocations: 23.98 kB / 1.386 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.5455, allocations: 11.98 kB / 1.386 GB, free: 10.58 MB / 0.8855 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.0001524/0.5456, allocations: 205.1 kB / 1.386 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-05/0.5457, allocations: 108.8 kB / 1.386 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.857e-05/0.5458, allocations: 108.5 kB / 1.387 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.179e-05/0.5459, allocations: 184.2 kB / 1.387 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.803e-05/0.5459, allocations: 192.2 kB / 1.387 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-05/0.546, allocations: 180.3 kB / 1.387 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.5463, allocations: 413.1 kB / 1.387 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.991e-05/0.5463, allocations: 105 kB / 1.388 GB, free: 9.008 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.5464, allocations: 101 kB / 1.388 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.039e-05/0.5464, allocations: 196.2 kB / 1.388 GB, free: 8.703 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.5465, allocations: 176.3 kB / 1.388 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.858e-05/0.5466, allocations: 184.2 kB / 1.388 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.914e-05/0.5466, allocations: 176.3 kB / 1.388 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.5468, allocations: 319.6 kB / 1.389 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.5469, allocations: 194 kB / 1.389 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.19e-05/0.547, allocations: 180.2 kB / 1.389 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.59e-05/0.5471, allocations: 101.8 kB / 1.389 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.5472, allocations: 180.3 kB / 1.389 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.5472, allocations: 108.9 kB / 1.389 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.103e-05/0.5473, allocations: 107.3 kB / 1.389 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5473, allocations: 0 / 1.389 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000483/0.5478, allocations: 91.84 kB / 1.39 GB, free: 6.824 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0009023/0.5487, allocations: 415.3 kB / 1.39 GB, free: 6.477 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002994/0.549, allocations: 215.3 kB / 1.39 GB, free: 6.254 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.549, allocations: 0 / 1.39 GB, free: 6.254 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.04e-06/0.549, allocations: 3.938 kB / 1.39 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.5493, allocations: 0.5196 MB / 1.391 GB, free: 5.727 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.5497, allocations: 234.2 kB / 1.391 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.55, allocations: 0.6848 MB / 1.392 GB, free: 4.758 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.243e-05/0.5501, allocations: 55.86 kB / 1.392 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.418e-05/0.5501, allocations: 11.44 kB / 1.392 GB, free: 4.691 MB / 0.8855 GB Notification: Performance of SimCode: time 4.3e-07/0.5501, allocations: 0 / 1.392 GB, free: 4.691 MB / 0.8855 GB Notification: Performance of Templates: time 0.006086/0.5562, allocations: 2.57 MB / 1.394 GB, free: 2.137 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)