Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.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.621/1.621, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001043/0.001043, allocations: 180.9 kB / 361.4 MB, free: 6.832 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.492/1.492, allocations: 205.3 MB / 0.62 GB, free: 11.65 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.0008492/0.0008492, allocations: 90.38 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.656e-05/1.658e-05, allocations: 4 kB / 0.8518 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7538/0.7539, allocations: 115.3 MB / 0.9644 GB, free: 79.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/0.9572, allocations: 140.6 MB / 1.102 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.9576, allocations: 95.61 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03042/0.9881, allocations: 11.39 MB / 1.113 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.727e-06/0.9881, allocations: 4 kB / 1.113 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.9881, allocations: 3.938 kB / 1.113 GB, free: 3.797 MB / 0.7136 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.0006492/0.9888, allocations: 433.7 kB / 1.113 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.9889, allocations: 12.03 kB / 1.113 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.989, allocations: 12.7 kB / 1.113 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.9892, allocations: 175 kB / 1.114 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.9892, allocations: 8 kB / 1.114 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.9892, allocations: 4 kB / 1.114 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000149/0.9894, allocations: 55.95 kB / 1.114 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.9896, allocations: 125.5 kB / 1.114 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.9896, allocations: 0 / 1.114 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.9897, allocations: 0 / 1.114 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.9897, allocations: 0 / 1.114 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.9899, allocations: 146.1 kB / 1.114 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.99, allocations: 111.9 kB / 1.114 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.9902, allocations: 96.91 kB / 1.114 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/0.9902, allocations: 0 / 1.114 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.9902, allocations: 30.56 kB / 1.114 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.9902, allocations: 0 / 1.114 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005844/0.9908, allocations: 189.5 kB / 1.114 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.9909, allocations: 89.09 kB / 1.114 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.9911, allocations: 114.1 kB / 1.114 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.9911, allocations: 33.73 kB / 1.114 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.9912, allocations: 88.14 kB / 1.115 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/0.9912, allocations: 23.67 kB / 1.115 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.9912, allocations: 0 / 1.115 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.9914, allocations: 318.8 kB / 1.115 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.453e-05/0.9915, allocations: 55.95 kB / 1.115 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.718e-05/0.9915, allocations: 55.95 kB / 1.115 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.9918, allocations: 63.94 kB / 1.115 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9918, allocations: 0 / 1.115 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003883/0.9922, allocations: 200 kB / 1.115 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/0.9922, allocations: 42.47 kB / 1.115 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.9922, allocations: 3.938 kB / 1.115 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.9923, allocations: 0 / 1.115 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.9923, allocations: 0 / 1.115 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.9923, allocations: 0 / 1.115 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.9925, allocations: 15.98 kB / 1.115 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.9926, allocations: 19.98 kB / 1.115 GB, free: 1.121 MB / 0.7136 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 () * 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.0001561/0.9927, allocations: 150.7 kB / 1.115 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.9928, allocations: 19.89 kB / 1.116 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.9928, allocations: 4.625 kB / 1.116 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.9928, allocations: 0 / 1.116 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.9928, allocations: 4.812 kB / 1.116 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9928, allocations: 0 / 1.116 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.993, allocations: 150.2 kB / 1.116 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.993, allocations: 0 / 1.116 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.993, allocations: 0 / 1.116 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.993, allocations: 0 / 1.116 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.993, allocations: 18.38 kB / 1.116 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.9931, allocations: 4 kB / 1.116 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.9931, allocations: 4 kB / 1.116 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.9935, allocations: 232.9 kB / 1.116 GB, free: 488 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.9936, allocations: 96.94 kB / 1.116 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.9937, allocations: 11.92 kB / 1.116 GB, free: 360 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.9938, allocations: 19.94 kB / 1.116 GB, free: 340 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.9939, allocations: 4 kB / 1.116 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.9939, allocations: 24.02 kB / 1.116 GB, free: 312 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.638e-05/0.994, allocations: 92.95 kB / 1.116 GB, free: 220 kB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/0.994, allocations: 0 / 1.116 GB, free: 220 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004681/0.9945, allocations: 103.9 kB / 1.116 GB, free: 116 kB / 0.7136 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]) * 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.001021/0.9955, allocations: 417.3 kB / 1.117 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003654/0.9959, allocations: 275.2 kB / 1.117 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9959, allocations: 0 / 1.117 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.9961, allocations: 203.3 kB / 1.117 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.9962, allocations: 11.94 kB / 1.117 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.9973, allocations: 479.3 kB / 1.118 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.9977, allocations: 0.6814 MB / 1.118 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000106/0.9978, allocations: 60.34 kB / 1.118 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.9978, allocations: 7.438 kB / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.9978, allocations: 0 / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of Templates: time 0.007716/1.006, allocations: 3.848 MB / 1.122 GB, free: 10.28 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)