Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.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.Windows.Examples.BoundaryHeatTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer") translateModel(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001663/0.001663, allocations: 193.5 kB / 16.26 MB, free: 6.621 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.666/1.666, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.657/0.657, allocations: 95.46 MB / 364.9 MB, free: 10.02 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.00156/0.00156, allocations: 71.91 kB / 444.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.39, allocations: 69.07 MB / 0.5019 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer): time 0.005594/0.3957, allocations: 4.463 MB / 0.5062 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.3995, allocations: 3.112 MB / 0.5093 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008184/0.4005, allocations: 15.94 kB / 0.5093 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.4024, allocations: 0.5889 MB / 0.5099 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.4035, allocations: 342 kB / 0.5102 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.4043, allocations: 207.7 kB / 0.5104 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008596/0.4052, allocations: 0.9034 MB / 0.5113 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005035/0.4057, allocations: 361.9 kB / 0.5116 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.406, allocations: 322.5 kB / 0.5119 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003501/0.4064, allocations: 354 kB / 0.5123 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.515e-05/0.4064, allocations: 56 kB / 0.5123 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.4067, allocations: 155.9 kB / 0.5125 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.4068, allocations: 139.4 kB / 0.5126 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.4071, allocations: 421.5 kB / 0.513 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007629/0.4079, allocations: 0.9457 MB / 0.5139 GB, free: 5.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4079, allocations: 4 kB / 0.5139 GB, free: 5.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4079, allocations: 0 / 0.5139 GB, free: 5.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.4079, allocations: 0 / 0.5139 GB, free: 5.125 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001399/0.4093, allocations: 1.167 MB / 0.5151 GB, free: 3.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.4093, allocations: 11.98 kB / 0.5151 GB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.4095, allocations: 107.7 kB / 0.5152 GB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006574/0.4101, allocations: 0.6471 MB / 0.5158 GB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.4102, allocations: 37 kB / 0.5158 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.4102, allocations: 40 kB / 0.5159 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.4109, allocations: 438.1 kB / 0.5163 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4109, allocations: 0 / 0.5163 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.411, allocations: 20 kB / 0.5163 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.411, allocations: 12 kB / 0.5163 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.4115, allocations: 331.8 kB / 0.5166 GB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.4132, allocations: 1.412 MB / 0.518 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/0.4138, allocations: 271.2 kB / 0.5183 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.414, allocations: 141.2 kB / 0.5184 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.414, allocations: 4.234 kB / 0.5184 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.4141, allocations: 34.8 kB / 0.5185 GB, free: 300 kB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.793e-06/0.4141, allocations: 4 kB / 0.5185 GB, free: 296 kB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001955/0.416, allocations: 0.6848 MB / 0.5191 GB, free: 15.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.4161, allocations: 81.11 kB / 0.5192 GB, free: 15.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009342/0.4171, allocations: 0.8552 MB / 0.52 GB, free: 14.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.4171, allocations: 29.7 kB / 0.5201 GB, free: 14.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.4174, allocations: 408.1 kB / 0.5205 GB, free: 14.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.782e-05/0.4175, allocations: 98.62 kB / 0.5206 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.4176, allocations: 57.98 kB / 0.5206 GB, free: 14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4177, allocations: 321.9 kB / 0.5209 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.418, allocations: 109.9 kB / 0.521 GB, free: 13.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.4182, allocations: 131.9 kB / 0.5211 GB, free: 13.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.4187, allocations: 245.5 kB / 0.5214 GB, free: 13.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4187, allocations: 0 / 0.5214 GB, free: 13.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008974/0.4196, allocations: 437.1 kB / 0.5218 GB, free: 12.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4196, allocations: 8 kB / 0.5218 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4196, allocations: 4 kB / 0.5218 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004427/0.4201, allocations: 88.78 kB / 0.5219 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.4203, allocations: 55.91 kB / 0.5219 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.4226, allocations: 1.814 MB / 0.5237 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.4231, allocations: 47.58 kB / 0.5238 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.4232, allocations: 8 kB / 0.5238 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000536/0.4237, allocations: 308 kB / 0.5241 GB, free: 10.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002302/0.4239, allocations: 138.7 kB / 0.5242 GB, free: 10.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004084/0.4244, allocations: 232.8 kB / 0.5244 GB, free: 9.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.4244, allocations: 0 / 0.5244 GB, free: 9.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0008739/0.4252, allocations: 433.6 kB / 0.5248 GB, free: 9.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4253, allocations: 14.59 kB / 0.5248 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.4253, allocations: 0 / 0.5248 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003542/0.4256, allocations: 88.73 kB / 0.5249 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.4259, allocations: 55.95 kB / 0.525 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.4276, allocations: 1.794 MB / 0.5267 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.428, allocations: 35.77 kB / 0.5268 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.4281, allocations: 4 kB / 0.5268 GB, free: 7.352 MB / 398.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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.4282, allocations: 197.1 kB / 0.527 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.4283, allocations: 82.97 kB / 0.527 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.4285, allocations: 100.7 kB / 0.5271 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4285, allocations: 4 kB / 0.5271 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4286, allocations: 3.938 kB / 0.5271 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4286, allocations: 0 / 0.5271 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.4301, allocations: 1.029 MB / 0.5281 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.4301, allocations: 3.938 kB / 0.5282 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.4303, allocations: 43.97 kB / 0.5282 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003151/0.4306, allocations: 92.84 kB / 0.5283 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.4307, allocations: 8 kB / 0.5283 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.4322, allocations: 1.77 MB / 0.53 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4323, allocations: 0 / 0.53 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000883/0.4332, allocations: 0.5275 MB / 0.5305 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.4334, allocations: 183.9 kB / 0.5307 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/0.4335, allocations: 8 kB / 0.5307 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.4338, allocations: 15.98 kB / 0.5307 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/0.4339, allocations: 31.91 kB / 0.5308 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.4339, allocations: 7.938 kB / 0.5308 GB, free: 2.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007205/0.4346, allocations: 0.6055 MB / 0.5314 GB, free: 2.355 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4346, allocations: 0 / 0.5314 GB, free: 2.355 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007552/0.4354, allocations: 263.5 kB / 0.5316 GB, free: 2.098 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002156/0.4356, allocations: 119.2 kB / 0.5317 GB, free: 1.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.4369, allocations: 0.6846 MB / 0.5324 GB, free: 1.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.437, allocations: 0 / 0.5324 GB, free: 1.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.4374, allocations: 278.9 kB / 0.5327 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008581/0.4382, allocations: 171.4 kB / 0.5328 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.4406, allocations: 1.649 MB / 0.5344 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.4412, allocations: 1.024 MB / 0.5354 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003976/0.4416, allocations: 117.3 kB / 0.5355 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.153e-05/0.4416, allocations: 43.44 kB / 0.5356 GB, free: 13.9 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4417, allocations: 0 / 0.5356 GB, free: 13.9 MB / 414.1 MB Notification: Performance of Templates: time 0.01731/0.459, allocations: 8.814 MB / 0.5442 GB, free: 5.207 MB / 414.1 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1)