Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.298/1.298, allocations: 252 MB / 267.9 MB, free: 10.92 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.001047/0.001047, allocations: 177.9 kB / 327.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.0007971/0.0007973, allocations: 98.05 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003353, allocations: 17.14 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1943, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.3559, allocations: 135.1 MB / 1.033 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.3563, allocations: 103.9 kB / 1.033 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02905/0.3853, allocations: 11.62 MB / 1.045 GB, free: 12.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.876e-06/0.3854, allocations: 0 / 1.045 GB, free: 12.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.3854, allocations: 0 / 1.045 GB, free: 12.62 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.0005712/0.386, allocations: 444.9 kB / 1.045 GB, free: 12.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.386, allocations: 8.031 kB / 1.045 GB, free: 12.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.3861, allocations: 16.84 kB / 1.045 GB, free: 12.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.3863, allocations: 180.4 kB / 1.045 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.3863, allocations: 384 / 1.045 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.3863, allocations: 8.375 kB / 1.045 GB, free: 11.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.3866, allocations: 118.1 kB / 1.045 GB, free: 11.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3866, allocations: 192 / 1.045 GB, free: 11.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.3867, allocations: 7.938 kB / 1.045 GB, free: 11.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.3867, allocations: 3.984 kB / 1.045 GB, free: 11.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.3868, allocations: 67.88 kB / 1.045 GB, free: 11.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.387, allocations: 165.6 kB / 1.046 GB, free: 11.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.3871, allocations: 114.6 kB / 1.046 GB, free: 11.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.3873, allocations: 100.9 kB / 1.046 GB, free: 11.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.3873, allocations: 0 / 1.046 GB, free: 11.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.3873, allocations: 30.56 kB / 1.046 GB, free: 11.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3873, allocations: 0 / 1.046 GB, free: 11.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0005104/0.3878, allocations: 307 kB / 1.046 GB, free: 10.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.3879, allocations: 93.12 kB / 1.046 GB, free: 10.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.388, allocations: 125.7 kB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.3881, allocations: 25.7 kB / 1.046 GB, free: 10.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.3881, allocations: 92.12 kB / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.3882, allocations: 19.73 kB / 1.046 GB, free: 10.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.3882, allocations: 4 kB / 1.046 GB, free: 10.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3883, allocations: 314.8 kB / 1.047 GB, free: 10.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.616e-05/0.3884, allocations: 63.94 kB / 1.047 GB, free: 10.13 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.982e-05/0.3885, allocations: 59.95 kB / 1.047 GB, free: 10.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.3887, allocations: 184.2 kB / 1.047 GB, free: 9.875 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3887, allocations: 0 / 1.047 GB, free: 9.875 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003124/0.389, allocations: 227.2 kB / 1.047 GB, free: 9.641 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.3891, allocations: 41.69 kB / 1.047 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3891, allocations: 7.922 kB / 1.047 GB, free: 9.586 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3891, allocations: 0 / 1.047 GB, free: 9.586 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.766e-06/0.3891, allocations: 4 kB / 1.047 GB, free: 9.582 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3891, allocations: 0 / 1.047 GB, free: 9.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.3893, allocations: 15.89 kB / 1.047 GB, free: 9.566 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.3894, allocations: 24 kB / 1.047 GB, free: 9.543 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.0001497/0.3895, allocations: 163.5 kB / 1.048 GB, free: 9.367 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.3896, allocations: 11.91 kB / 1.048 GB, free: 9.355 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.834e-05/0.3896, allocations: 12.31 kB / 1.048 GB, free: 9.344 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3896, allocations: 3.984 kB / 1.048 GB, free: 9.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3896, allocations: 0 / 1.048 GB, free: 9.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3896, allocations: 0 / 1.048 GB, free: 9.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.3897, allocations: 169.6 kB / 1.048 GB, free: 9.125 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3898, allocations: 0 / 1.048 GB, free: 9.125 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-07/0.3898, allocations: 4 kB / 1.048 GB, free: 9.121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3898, allocations: 0 / 1.048 GB, free: 9.121 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.3898, allocations: 15.94 kB / 1.048 GB, free: 9.105 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3898, allocations: 3.984 kB / 1.048 GB, free: 9.102 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3898, allocations: 0 / 1.048 GB, free: 9.102 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.3902, allocations: 294.8 kB / 1.048 GB, free: 8.789 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.3903, allocations: 89.09 kB / 1.048 GB, free: 8.684 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.3903, allocations: 8.312 kB / 1.048 GB, free: 8.676 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.3905, allocations: 20.02 kB / 1.048 GB, free: 8.656 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.3905, allocations: 7.984 kB / 1.048 GB, free: 8.648 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.3905, allocations: 12 kB / 1.048 GB, free: 8.637 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.3906, allocations: 95.2 kB / 1.048 GB, free: 8.543 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3906, allocations: 4 kB / 1.048 GB, free: 8.539 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004601/0.3911, allocations: 119.7 kB / 1.048 GB, free: 8.422 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.0009728/0.3921, allocations: 409.6 kB / 1.049 GB, free: 8.113 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003753/0.3924, allocations: 291.2 kB / 1.049 GB, free: 7.816 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3925, allocations: 4 kB / 1.049 GB, free: 7.812 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.3927, allocations: 211.3 kB / 1.049 GB, free: 7.594 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.3929, allocations: 15.5 kB / 1.049 GB, free: 7.582 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.394, allocations: 0.5375 MB / 1.05 GB, free: 7.016 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.3943, allocations: 0.6809 MB / 1.05 GB, free: 6.309 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.255e-05/0.3944, allocations: 55.8 kB / 1.051 GB, free: 6.254 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.3944, allocations: 11.44 kB / 1.051 GB, free: 6.242 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.3944, allocations: 0 / 1.051 GB, free: 6.242 MB / 0.698 GB Notification: Performance of Templates: time 0.007237/0.4017, allocations: 3.927 MB / 1.054 GB, free: 2.359 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)