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.777/1.777, allocations: 288.3 MB / 303.2 MB, free: 8.137 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.001135/0.001135, allocations: 182.2 kB / 371.8 MB, free: 10.29 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.542/1.542, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0009351/0.0009348, allocations: 87 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004037, allocations: 11 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.232, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7321/0.9641, allocations: 141 MB / 1.117 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.9644, allocations: 87.11 kB / 1.117 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02638/0.9908, allocations: 10.9 MB / 1.128 GB, free: 31.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/0.9909, allocations: 0 / 1.128 GB, free: 31.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.9909, allocations: 7.875 kB / 1.128 GB, free: 31.29 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.0006069/0.9915, allocations: 434.8 kB / 1.128 GB, free: 30.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.9916, allocations: 7.75 kB / 1.128 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.9917, allocations: 11.56 kB / 1.128 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.9918, allocations: 178.5 kB / 1.128 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.9919, allocations: 3.875 kB / 1.128 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.9919, allocations: 3.906 kB / 1.128 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.9921, allocations: 127.2 kB / 1.129 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.9922, allocations: 4 kB / 1.129 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.9922, allocations: 3.844 kB / 1.129 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.9922, allocations: 4 kB / 1.129 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.9923, allocations: 57.8 kB / 1.129 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.9925, allocations: 165.2 kB / 1.129 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.9926, allocations: 118.8 kB / 1.129 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.9927, allocations: 0 / 1.129 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.9927, allocations: 34.56 kB / 1.129 GB, free: 30.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.9927, allocations: 3.812 kB / 1.129 GB, free: 30.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0005/0.9932, allocations: 356.4 kB / 1.129 GB, free: 30.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.9933, allocations: 88.78 kB / 1.129 GB, free: 29.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.9934, allocations: 128 kB / 1.129 GB, free: 29.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.9934, allocations: 25.7 kB / 1.13 GB, free: 29.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.9935, allocations: 87.73 kB / 1.13 GB, free: 29.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.9935, allocations: 15.64 kB / 1.13 GB, free: 29.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.9935, allocations: 3.844 kB / 1.13 GB, free: 29.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.9937, allocations: 318.5 kB / 1.13 GB, free: 29.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.28e-05/0.9938, allocations: 61.81 kB / 1.13 GB, free: 29.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.645e-05/0.9939, allocations: 62.3 kB / 1.13 GB, free: 29.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.994, allocations: 87.95 kB / 1.13 GB, free: 29.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.994, allocations: 0 / 1.13 GB, free: 29.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003023/0.9943, allocations: 218.1 kB / 1.13 GB, free: 29.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.31e-05/0.9944, allocations: 47.03 kB / 1.13 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.9944, allocations: 0 / 1.13 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.9944, allocations: 7.828 kB / 1.13 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-06/0.9944, allocations: 4.062 kB / 1.13 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.9944, allocations: 0 / 1.13 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.9947, allocations: 15.52 kB / 1.13 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.9947, allocations: 11.53 kB / 1.13 GB, free: 29.19 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.0002268/0.995, allocations: 166.5 kB / 1.131 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.995, allocations: 11.69 kB / 1.131 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.995, allocations: 4.375 kB / 1.131 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.995, allocations: 3.984 kB / 1.131 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.9951, allocations: 7.75 kB / 1.131 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.9951, allocations: 3.984 kB / 1.131 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.9952, allocations: 173 kB / 1.131 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.9953, allocations: 11.81 kB / 1.131 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.9953, allocations: 0 / 1.131 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.9953, allocations: 0 / 1.131 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.9953, allocations: 6.844 kB / 1.131 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9953, allocations: 256 / 1.131 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.9953, allocations: 7.984 kB / 1.131 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.9957, allocations: 279.1 kB / 1.131 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.9958, allocations: 92.83 kB / 1.131 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.9958, allocations: 11.67 kB / 1.131 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.996, allocations: 11.7 kB / 1.131 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.996, allocations: 7.656 kB / 1.131 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.9961, allocations: 19.48 kB / 1.131 GB, free: 28.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.703e-05/0.9961, allocations: 95.02 kB / 1.131 GB, free: 28.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9961, allocations: 0 / 1.131 GB, free: 28.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004571/0.9966, allocations: 104.5 kB / 1.131 GB, free: 28.43 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.0009761/0.9976, allocations: 415.4 kB / 1.132 GB, free: 28.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003409/0.9979, allocations: 289.8 kB / 1.132 GB, free: 28.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9979, allocations: 7.781 kB / 1.132 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.9981, allocations: 208.2 kB / 1.132 GB, free: 28.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.9983, allocations: 3.812 kB / 1.132 GB, free: 28.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.9993, allocations: 0.5174 MB / 1.133 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.9996, allocations: 0.6921 MB / 1.133 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.314e-05/0.9997, allocations: 47.16 kB / 1.133 GB, free: 27.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.479e-05/0.9997, allocations: 11.31 kB / 1.133 GB, free: 27.01 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/0.9997, allocations: 0 / 1.133 GB, free: 27.01 MB / 0.698 GB Notification: Performance of Templates: time 0.005719/1.005, allocations: 3.839 MB / 1.137 GB, free: 25.07 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)