Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.243/4.243, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.00245/0.00245, allocations: 182.1 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.414/4.414, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.001662/0.001661, allocations: 92.17 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007999/0.0008001, allocations: 15.88 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3854, allocations: 106.3 MB / 0.8995 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3664/0.752, allocations: 134.9 MB / 1.031 GB, free: 10.39 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005708/0.7526, allocations: 95.94 kB / 1.031 GB, free: 10.3 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.07873/0.8314, allocations: 11.62 MB / 1.043 GB, free: 14.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.869e-06/0.8315, allocations: 0 / 1.043 GB, free: 14.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.715e-05/0.8315, allocations: 4 kB / 1.043 GB, free: 14.63 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.0008992/0.8324, allocations: 444.9 kB / 1.043 GB, free: 14.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.585e-05/0.8325, allocations: 8.031 kB / 1.043 GB, free: 14.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.8326, allocations: 12.84 kB / 1.043 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.8329, allocations: 176.4 kB / 1.043 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.833, allocations: 4.375 kB / 1.043 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.826e-05/0.833, allocations: 4.375 kB / 1.043 GB, free: 13.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.8336, allocations: 126.1 kB / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.8336, allocations: 192 / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.8337, allocations: 7.938 kB / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.8337, allocations: 4 kB / 1.043 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.834, allocations: 63.88 kB / 1.044 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.8343, allocations: 161.7 kB / 1.044 GB, free: 13.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.8348, allocations: 110.6 kB / 1.044 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.8351, allocations: 100.9 kB / 1.044 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.8352, allocations: 4 kB / 1.044 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.804e-05/0.8352, allocations: 34.56 kB / 1.044 GB, free: 13.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 7.484e-06/0.8353, allocations: 4 kB / 1.044 GB, free: 13.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.001336/0.8366, allocations: 306.9 kB / 1.044 GB, free: 12.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.8368, allocations: 85.11 kB / 1.044 GB, free: 12.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.8371, allocations: 121.7 kB / 1.044 GB, free: 12.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-05/0.8372, allocations: 29.7 kB / 1.044 GB, free: 12.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.43e-05/0.8373, allocations: 88.14 kB / 1.045 GB, free: 12.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/0.8374, allocations: 19.73 kB / 1.045 GB, free: 12.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/0.8375, allocations: 0 / 1.045 GB, free: 12.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002403/0.8377, allocations: 322.9 kB / 1.045 GB, free: 12.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.838, allocations: 59.94 kB / 1.045 GB, free: 12.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.8383, allocations: 63.95 kB / 1.045 GB, free: 12.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.8386, allocations: 85.66 kB / 1.045 GB, free: 12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.8386, allocations: 0 / 1.045 GB, free: 12 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000892/0.8395, allocations: 231.2 kB / 1.045 GB, free: 11.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.8397, allocations: 45.69 kB / 1.045 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.8397, allocations: 3.938 kB / 1.045 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.8398, allocations: 0 / 1.045 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-06/0.8398, allocations: 0 / 1.045 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.8398, allocations: 4.062 kB / 1.045 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005699/0.8404, allocations: 19.89 kB / 1.045 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/0.8405, allocations: 12 kB / 1.045 GB, free: 11.67 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.0003604/0.8409, allocations: 167.5 kB / 1.045 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.668e-05/0.841, allocations: 12.28 kB / 1.046 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.841, allocations: 12.3 kB / 1.046 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.8411, allocations: 4 kB / 1.046 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.8411, allocations: 0 / 1.046 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.8411, allocations: 7.875 kB / 1.046 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.8414, allocations: 173.6 kB / 1.046 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.8415, allocations: 0 / 1.046 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-06/0.8415, allocations: 4 kB / 1.046 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.8415, allocations: 0 / 1.046 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-05/0.8416, allocations: 15.92 kB / 1.046 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.8416, allocations: 0 / 1.046 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8416, allocations: 0 / 1.046 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.8427, allocations: 290.5 kB / 1.046 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.8429, allocations: 93.38 kB / 1.046 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/0.843, allocations: 11.92 kB / 1.046 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005414/0.8435, allocations: 19.98 kB / 1.046 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.8436, allocations: 7.984 kB / 1.046 GB, free: 10.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.46e-05/0.8438, allocations: 16 kB / 1.046 GB, free: 10.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001498/0.8439, allocations: 95.25 kB / 1.046 GB, free: 10.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.52e-07/0.8439, allocations: 0 / 1.046 GB, free: 10.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00103/0.845, allocations: 115.8 kB / 1.046 GB, free: 10.54 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.001972/0.847, allocations: 415.4 kB / 1.047 GB, free: 10.22 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.8482, allocations: 291.2 kB / 1.047 GB, free: 9.926 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.8482, allocations: 0 / 1.047 GB, free: 9.926 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005641/0.8488, allocations: 211.3 kB / 1.047 GB, free: 9.707 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.8492, allocations: 8 kB / 1.047 GB, free: 9.699 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.8522, allocations: 0.5452 MB / 1.048 GB, free: 9.125 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.8527, allocations: 0.6809 MB / 1.048 GB, free: 8.418 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001999/0.853, allocations: 59.8 kB / 1.048 GB, free: 8.359 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.853, allocations: 11.44 kB / 1.048 GB, free: 8.348 MB / 0.698 GB Notification: Performance of SimCode: time 1.683e-06/0.853, allocations: 0 / 1.048 GB, free: 8.348 MB / 0.698 GB Notification: Performance of Templates: time 0.0188/0.8719, allocations: 3.892 MB / 1.052 GB, free: 4.488 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)