Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 292.6 MB / 307.5 MB, free: 5.148 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.001078/0.001078, allocations: 184.9 kB / 377.1 MB, free: 1.504 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.52/1.52, allocations: 205.4 MB / 0.6367 GB, free: 9.559 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009939/0.0009936, allocations: 92.92 kB / 0.751 GB, free: 62.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003131, allocations: 8 kB / 0.8748 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2761, allocations: 116.3 MB / 0.9884 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7934/1.07, allocations: 141.4 MB / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/1.07, allocations: 90.19 kB / 1.127 GB, free: 33.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02707/1.097, allocations: 10.47 MB / 1.137 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.184e-06/1.097, allocations: 0 / 1.137 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.604e-06/1.097, allocations: 0.9375 kB / 1.137 GB, free: 26.3 MB / 0.7292 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.0005497/1.098, allocations: 433.5 kB / 1.137 GB, free: 25.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/1.098, allocations: 12.03 kB / 1.137 GB, free: 25.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.077e-05/1.098, allocations: 8.203 kB / 1.137 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/1.098, allocations: 176.6 kB / 1.137 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/1.098, allocations: 5.203 kB / 1.137 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/1.098, allocations: 4 kB / 1.137 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/1.098, allocations: 122.7 kB / 1.138 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/1.098, allocations: 0 / 1.138 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/1.098, allocations: 10.66 kB / 1.138 GB, free: 25.51 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.098, allocations: 1.125 kB / 1.138 GB, free: 25.51 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/1.098, allocations: 65.41 kB / 1.138 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/1.099, allocations: 166.1 kB / 1.138 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/1.099, allocations: 108.8 kB / 1.138 GB, free: 25.15 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/1.099, allocations: 0.6562 kB / 1.138 GB, free: 25.15 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/1.099, allocations: 38.53 kB / 1.138 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/1.099, allocations: 4 kB / 1.138 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.000528/1.099, allocations: 348.2 kB / 1.138 GB, free: 24.78 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/1.099, allocations: 91.69 kB / 1.138 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/1.099, allocations: 123.8 kB / 1.138 GB, free: 24.55 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/1.099, allocations: 29.7 kB / 1.138 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/1.1, allocations: 82.86 kB / 1.139 GB, free: 24.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/1.1, allocations: 16.56 kB / 1.139 GB, free: 24.42 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/1.1, allocations: 4 kB / 1.139 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.035e-05/1.1, allocations: 313 kB / 1.139 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/1.1, allocations: 70.02 kB / 1.139 GB, free: 24.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.988e-05/1.1, allocations: 66.5 kB / 1.139 GB, free: 24 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/1.1, allocations: 93.78 kB / 1.139 GB, free: 23.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.1, allocations: 0 / 1.139 GB, free: 23.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002715/1.1, allocations: 211.3 kB / 1.139 GB, free: 23.72 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/1.1, allocations: 45.69 kB / 1.139 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.1, allocations: 0 / 1.139 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/1.1, allocations: 0.75 kB / 1.139 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-06/1.1, allocations: 0.9375 kB / 1.139 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/1.1, allocations: 64 / 1.139 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/1.101, allocations: 19.47 kB / 1.139 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/1.101, allocations: 16.5 kB / 1.139 GB, free: 23.65 MB / 0.7292 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.0001311/1.101, allocations: 168.2 kB / 1.14 GB, free: 23.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/1.101, allocations: 12.75 kB / 1.14 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.84e-05/1.101, allocations: 4.984 kB / 1.14 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/1.101, allocations: 0 / 1.14 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.101, allocations: 0 / 1.14 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/1.101, allocations: 2.562 kB / 1.14 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/1.101, allocations: 180.6 kB / 1.14 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.101, allocations: 3.953 kB / 1.14 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-06/1.101, allocations: 0.7969 kB / 1.14 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/1.101, allocations: 3.938 kB / 1.14 GB, free: 23.24 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/1.101, allocations: 11.66 kB / 1.14 GB, free: 23.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.101, allocations: 4 kB / 1.14 GB, free: 23.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.101, allocations: 0 / 1.14 GB, free: 23.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/1.101, allocations: 274.7 kB / 1.14 GB, free: 22.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/1.101, allocations: 97.17 kB / 1.14 GB, free: 22.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/1.102, allocations: 5.594 kB / 1.14 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/1.102, allocations: 19.03 kB / 1.14 GB, free: 22.85 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/1.102, allocations: 10.98 kB / 1.14 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/1.102, allocations: 15.14 kB / 1.14 GB, free: 22.83 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.838e-05/1.102, allocations: 92.48 kB / 1.14 GB, free: 22.74 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.102, allocations: 0 / 1.14 GB, free: 22.74 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004072/1.102, allocations: 104.7 kB / 1.14 GB, free: 22.64 MB / 0.7292 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.0007221/1.103, allocations: 341 kB / 1.141 GB, free: 22.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003655/1.103, allocations: 286.1 kB / 1.141 GB, free: 22.15 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.103, allocations: 0 / 1.141 GB, free: 22.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/1.104, allocations: 213 kB / 1.141 GB, free: 21.95 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/1.104, allocations: 7.938 kB / 1.141 GB, free: 21.94 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/1.105, allocations: 0.5113 MB / 1.142 GB, free: 21.56 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/1.105, allocations: 0.6905 MB / 1.142 GB, free: 20.85 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001097/1.105, allocations: 46.33 kB / 1.142 GB, free: 20.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/1.105, allocations: 8.234 kB / 1.142 GB, free: 20.82 MB / 0.7292 GB Notification: Performance of SimCode: time 3.71e-07/1.105, allocations: 0 / 1.142 GB, free: 20.82 MB / 0.7292 GB Notification: Performance of Templates: time 0.008243/1.114, allocations: 3.6 MB / 1.146 GB, free: 18.76 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)