Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009251/0.000925, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.4 MB / 222.1 MB, free: 5.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5726/0.5726, allocations: 95.58 MB / 365.9 MB, free: 10.36 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005341/0.0005342, allocations: 24 kB / 446.8 MB, free: 9.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3017, allocations: 70.33 MB / 0.505 GB, free: 16.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0006504/0.3024, allocations: 240.7 kB / 0.5052 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007085/0.3031, allocations: 424.7 kB / 0.5056 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.753e-05/0.3032, allocations: 0 / 0.5056 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.3032, allocations: 0 / 0.5056 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.22e-06/0.3032, allocations: 0 / 0.5056 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005697/0.3038, allocations: 163.7 kB / 0.5058 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.46e-05/0.3039, allocations: 35.89 kB / 0.5058 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.727e-05/0.304, allocations: 0 / 0.5058 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.417e-05/0.304, allocations: 31.95 kB / 0.5059 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.158e-05/0.304, allocations: 19.98 kB / 0.5059 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.3041, allocations: 0 / 0.5059 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.3042, allocations: 91.8 kB / 0.506 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.3043, allocations: 0 / 0.506 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.3043, allocations: 29.7 kB / 0.506 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.3045, allocations: 119.8 kB / 0.5061 GB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.3045, allocations: 0 / 0.5061 GB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3045, allocations: 0 / 0.5061 GB, free: 15.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.3045, allocations: 4 kB / 0.5061 GB, free: 15.45 MB / 382.1 MB 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.0002831/0.3048, allocations: 373 kB / 0.5065 GB, free: 15.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3049, allocations: 15.98 kB / 0.5065 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.3049, allocations: 8 kB / 0.5065 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.026e-05/0.305, allocations: 169 kB / 0.5067 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.305, allocations: 0 / 0.5067 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.305, allocations: 8 kB / 0.5067 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.3052, allocations: 97.56 kB / 0.5068 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3052, allocations: 7.875 kB / 0.5068 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.3052, allocations: 4 kB / 0.5068 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3052, allocations: 0 / 0.5068 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.664e-05/0.3053, allocations: 39.97 kB / 0.5068 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.3054, allocations: 157.7 kB / 0.507 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.581e-05/0.3055, allocations: 90.53 kB / 0.507 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.3055, allocations: 0 / 0.507 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.3056, allocations: 30.56 kB / 0.5071 GB, free: 14.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3056, allocations: 4 kB / 0.5071 GB, free: 14.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003663/0.3059, allocations: 300.4 kB / 0.5074 GB, free: 13.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.306, allocations: 89.09 kB / 0.5074 GB, free: 13.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.174e-05/0.306, allocations: 89.86 kB / 0.5075 GB, free: 13.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.306, allocations: 25.7 kB / 0.5076 GB, free: 13.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.263e-05/0.3061, allocations: 84.14 kB / 0.5076 GB, free: 13.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/0.3061, allocations: 19.75 kB / 0.5077 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.3061, allocations: 0 / 0.5077 GB, free: 13.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.156e-05/0.3062, allocations: 318.8 kB / 0.508 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.486e-05/0.3063, allocations: 47.95 kB / 0.508 GB, free: 13.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.865e-05/0.3063, allocations: 35.97 kB / 0.508 GB, free: 13.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.495e-05/0.3064, allocations: 69.67 kB / 0.5081 GB, free: 13.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3064, allocations: 0 / 0.5081 GB, free: 13.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001987/0.3066, allocations: 179.2 kB / 0.5083 GB, free: 12.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.3066, allocations: 37.7 kB / 0.5083 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3067, allocations: 7.969 kB / 0.5083 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3067, allocations: 3.953 kB / 0.5083 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.3067, allocations: 0 / 0.5083 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3067, allocations: 4.062 kB / 0.5083 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.307, allocations: 15.98 kB / 0.5083 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.307, allocations: 12 kB / 0.5084 GB, free: 12.89 MB / 382.1 MB 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 9.451e-05/0.3071, allocations: 155.5 kB / 0.5085 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.3071, allocations: 4 kB / 0.5085 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.668e-06/0.3071, allocations: 7.969 kB / 0.5085 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3072, allocations: 0 / 0.5085 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3072, allocations: 7.891 kB / 0.5085 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3072, allocations: 0 / 0.5085 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.635e-05/0.3072, allocations: 165.6 kB / 0.5087 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3072, allocations: 4 kB / 0.5087 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-06/0.3073, allocations: 3.984 kB / 0.5087 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3073, allocations: 0 / 0.5087 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.3073, allocations: 15.98 kB / 0.5087 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3073, allocations: 0 / 0.5087 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3073, allocations: 256 / 0.5087 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.3075, allocations: 242.5 kB / 0.5089 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.3076, allocations: 89.08 kB / 0.509 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.3076, allocations: 7.984 kB / 0.509 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.3078, allocations: 15.98 kB / 0.509 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.3078, allocations: 4 kB / 0.509 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.3078, allocations: 11.98 kB / 0.5091 GB, free: 12.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.592e-05/0.3079, allocations: 79.23 kB / 0.5091 GB, free: 11.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3079, allocations: 0 / 0.5091 GB, free: 11.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.3081, allocations: 51.98 kB / 0.5092 GB, free: 11.94 MB / 382.1 MB 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.0005302/0.3087, allocations: 280.5 kB / 0.5094 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.3089, allocations: 231.3 kB / 0.5097 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3089, allocations: 0 / 0.5097 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.3091, allocations: 179.3 kB / 0.5098 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.737e-05/0.3092, allocations: 14.98 kB / 0.5099 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.3094, allocations: 166.7 kB / 0.51 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.3096, allocations: 0.6848 MB / 0.5107 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.834e-06/0.3096, allocations: 0 / 0.5107 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.668e-06/0.3096, allocations: 7.438 kB / 0.5107 GB, free: 10.36 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3096, allocations: 0 / 0.5107 GB, free: 10.36 MB / 382.1 MB Notification: Performance of Templates: time 0.004634/0.3142, allocations: 2.613 MB / 0.5132 GB, free: 7.77 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_1.6_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_1.6_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1) Environment - environmentSimulation: