Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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.HeatTransfer.Examples.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001385/0.001385, allocations: 189.4 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.5918/0.5918, allocations: 95.46 MB / 364.9 MB, free: 10.07 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.001842/0.001841, allocations: 63.91 kB / 444.8 MB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3925, allocations: 69.07 MB / 0.5019 GB, free: 17.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.0037/0.3963, allocations: 1.967 MB / 0.5038 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.3977, allocations: 0.6943 MB / 0.5045 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.3979, allocations: 4 kB / 0.5045 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.3983, allocations: 51.73 kB / 0.5045 GB, free: 14.84 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Data/BaseClasses.mo:121:5-123:32:writable] Warning: In relation concrete.c == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Data/BaseClasses.mo:121:5-123:32:writable] Warning: In relation concrete.d == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.3986, allocations: 59.66 kB / 0.5046 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.3989, allocations: 83.89 kB / 0.5046 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005081/0.3994, allocations: 0.698 MB / 0.5053 GB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3996, allocations: 33.09 kB / 0.5054 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.3998, allocations: 231.6 kB / 0.5056 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.4002, allocations: 287.3 kB / 0.5059 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.637e-05/0.4002, allocations: 48 kB / 0.5059 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.548e-05/0.4003, allocations: 48 kB / 0.5059 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.4005, allocations: 183.6 kB / 0.5061 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.4006, allocations: 215.2 kB / 0.5063 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.401, allocations: 0.5084 MB / 0.5068 GB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.401, allocations: 3.984 kB / 0.5068 GB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.401, allocations: 0 / 0.5068 GB, free: 12.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.401, allocations: 0 / 0.5068 GB, free: 12.46 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001875/0.4029, allocations: 0.7561 MB / 0.5076 GB, free: 11.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.403, allocations: 23.97 kB / 0.5076 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.4031, allocations: 28.66 kB / 0.5076 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.4036, allocations: 316.5 kB / 0.5079 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.4036, allocations: 24.3 kB / 0.5079 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.4037, allocations: 28 kB / 0.508 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.4041, allocations: 179.4 kB / 0.5081 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.4041, allocations: 0 / 0.5081 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.4041, allocations: 8 kB / 0.5081 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4041, allocations: 4 kB / 0.5081 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.4044, allocations: 144.6 kB / 0.5083 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.4084, allocations: 1.307 MB / 0.5096 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.4097, allocations: 462.2 kB / 0.51 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.4099, allocations: 120.8 kB / 0.5101 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.4099, allocations: 4 kB / 0.5101 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.4099, allocations: 30.56 kB / 0.5101 GB, free: 8.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.435e-06/0.4099, allocations: 0 / 0.5101 GB, free: 8.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006426/0.4106, allocations: 360.6 kB / 0.5105 GB, free: 8.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.4106, allocations: 55.41 kB / 0.5105 GB, free: 8.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.4108, allocations: 286.5 kB / 0.5108 GB, free: 8.164 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.4109, allocations: 41.64 kB / 0.5109 GB, free: 8.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.282e-05/0.411, allocations: 140.8 kB / 0.511 GB, free: 7.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/0.4111, allocations: 78.91 kB / 0.5111 GB, free: 7.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.4112, allocations: 114.2 kB / 0.5112 GB, free: 7.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.4113, allocations: 338.8 kB / 0.5115 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.4117, allocations: 269 kB / 0.5118 GB, free: 7.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/0.4121, allocations: 328.6 kB / 0.5121 GB, free: 6.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.4127, allocations: 438.7 kB / 0.5125 GB, free: 6.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4127, allocations: 0 / 0.5125 GB, free: 6.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009584/0.4136, allocations: 0.6939 MB / 0.5132 GB, free: 5.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4137, allocations: 7.938 kB / 0.5132 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4137, allocations: 0 / 0.5132 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4137, allocations: 4 kB / 0.5132 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007353/0.4144, allocations: 123.8 kB / 0.5133 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.4145, allocations: 8 kB / 0.5133 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.4158, allocations: 87.34 kB / 0.5134 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.4159, allocations: 23.92 kB / 0.5134 GB, free: 5.469 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.416, allocations: 157.8 kB / 0.5136 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.4161, allocations: 31.59 kB / 0.5136 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.345e-05/0.4161, allocations: 34.17 kB / 0.5136 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4161, allocations: 4 kB / 0.5136 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4161, allocations: 0 / 0.5136 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4162, allocations: 0 / 0.5136 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.4165, allocations: 425 kB / 0.514 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.4165, allocations: 0 / 0.514 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.4167, allocations: 47.91 kB / 0.5141 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4168, allocations: 3.938 kB / 0.5141 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.4168, allocations: 7.984 kB / 0.5141 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4168, allocations: 4 kB / 0.5141 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4168, allocations: 0 / 0.5141 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000539/0.4173, allocations: 482.9 kB / 0.5146 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/0.4174, allocations: 116.7 kB / 0.5147 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.4175, allocations: 7.984 kB / 0.5147 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005873/0.4181, allocations: 23.97 kB / 0.5147 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.4181, allocations: 11.98 kB / 0.5147 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.4181, allocations: 4 kB / 0.5147 GB, free: 4.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.4183, allocations: 193.9 kB / 0.5149 GB, free: 3.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4183, allocations: 3.938 kB / 0.5149 GB, free: 3.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004775/0.4188, allocations: 203.9 kB / 0.5151 GB, free: 3.645 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con.T[5],con.T[6],con.T[7],con.T[8]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001157/0.4189, allocations: 103.2 kB / 0.5152 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007278/0.4196, allocations: 494.9 kB / 0.5157 GB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4196, allocations: 0 / 0.5157 GB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.4198, allocations: 119.9 kB / 0.5158 GB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.4203, allocations: 63.53 kB / 0.5158 GB, free: 2.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.4216, allocations: 1.063 MB / 0.5169 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.4219, allocations: 0.7678 MB / 0.5176 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002393/0.4221, allocations: 86.22 kB / 0.5177 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.4223, allocations: 31.41 kB / 0.5177 GB, free: 0.875 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4223, allocations: 0 / 0.5177 GB, free: 0.875 MB / 382.1 MB Notification: Performance of Templates: time 0.01103/0.4333, allocations: 6.011 MB / 0.5236 GB, free: 10.9 MB / 398.1 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & ./Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1)