Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 196.5 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.755/2.755, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.89 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3263, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.007098/0.3335, allocations: 5.257 MB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005642/0.3392, allocations: 2.998 MB / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006098/0.3398, allocations: 12 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.3402, allocations: 130.3 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.3419, allocations: 0.6044 MB / 1.077 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009418/0.3429, allocations: 0.5657 MB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002168/0.3451, allocations: 1.747 MB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006876/0.3458, allocations: 0.5121 MB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008772/0.3467, allocations: 0.6462 MB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009064/0.3476, allocations: 0.737 MB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002535/0.3478, allocations: 192 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006387/0.3485, allocations: 359.8 kB / 1.082 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.3488, allocations: 390.8 kB / 1.082 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008277/0.3496, allocations: 0.7349 MB / 1.083 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.3516, allocations: 2.026 MB / 1.085 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.3516, allocations: 4 kB / 1.085 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3517, allocations: 0 / 1.085 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.679e-05/0.3517, allocations: 0 / 1.085 GB, free: 9.508 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 0.003882/0.3556, allocations: 1.641 MB / 1.086 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3556, allocations: 8.031 kB / 1.086 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002835/0.3559, allocations: 131.3 kB / 1.086 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.3579, allocations: 1.014 MB / 1.087 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.358, allocations: 70.38 kB / 1.087 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.3581, allocations: 96.12 kB / 1.088 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.3601, allocations: 1.065 MB / 1.089 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.3601, allocations: 0 / 1.089 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.3602, allocations: 36 kB / 1.089 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.3602, allocations: 20 kB / 1.089 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.3619, allocations: 0.856 MB / 1.089 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005538/0.3675, allocations: 3.213 MB / 1.093 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004497/0.372, allocations: 1.442 MB / 1.094 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009602/0.373, allocations: 0.4922 MB / 1.094 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.996e-05/0.3731, allocations: 19.97 kB / 1.095 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/0.3744, allocations: 0.7564 MB / 1.095 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=116): time 2.835e-06/0.3744, allocations: 0 / 1.095 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=116): time 0.003132/0.3775, allocations: 1.508 MB / 1.097 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.3776, allocations: 148.4 kB / 1.097 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.3787, allocations: 0.7861 MB / 1.098 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.892e-05/0.3787, allocations: 53.69 kB / 1.098 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.3791, allocations: 409 kB / 1.098 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/0.3794, allocations: 362.8 kB / 1.098 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003473/0.3798, allocations: 206.8 kB / 1.099 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3799, allocations: 341.9 kB / 1.099 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007885/0.3807, allocations: 394.5 kB / 1.099 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009029/0.3816, allocations: 0.5237 MB / 1.1 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.3832, allocations: 0.8567 MB / 1.101 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.3833, allocations: 3.938 kB / 1.101 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002184/0.3855, allocations: 1.098 MB / 1.102 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3855, allocations: 11.98 kB / 1.102 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3855, allocations: 7.938 kB / 1.102 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3855, allocations: 4 kB / 1.102 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.3866, allocations: 231.6 kB / 1.102 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.3866, allocations: 7.938 kB / 1.102 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.3877, allocations: 146.9 kB / 1.102 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.3878, allocations: 47.95 kB / 1.102 GB, free: 7.164 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 40 (winEas.proShaLen.solAzi.outsidePolarCircle,winEas.proShaLen.decAng.tNext,$PRE.winEas.proShaLen.decAng.tNext,winEas.proShaLen.eqnTim.tNext,$PRE.winEas.proShaLen.eqnTim.tNext,winEas.proShaLen.locTim.tNext,$PRE.winEas.proShaLen.locTim.tNext,$whenCondition10,$whenCondition11,$whenCondition12,winSou.proShaLen.solAzi.outsidePolarCircle,winSou.proShaLen.decAng.tNext,$PRE.winSou.proShaLen.decAng.tNext,winSou.proShaLen.eqnTim.tNext,$PRE.winSou.proShaLen.eqnTim.tNext,winSou.proShaLen.locTim.tNext,$PRE.winSou.proShaLen.locTim.tNext,$whenCondition7,$whenCondition8,$whenCondition9,winWes.proShaLen.solAzi.outsidePolarCircle,winWes.proShaLen.decAng.tNext,$PRE.winWes.proShaLen.decAng.tNext,winWes.proShaLen.eqnTim.tNext,$PRE.winWes.proShaLen.eqnTim.tNext,winWes.proShaLen.locTim.tNext,$PRE.winWes.proShaLen.locTim.tNext,$whenCondition4,$whenCondition5,$whenCondition6,winNor.proShaLen.solAzi.outsidePolarCircle,winNor.proShaLen.decAng.tNext,$PRE.winNor.proShaLen.decAng.tNext,winNor.proShaLen.eqnTim.tNext,$PRE.winNor.proShaLen.eqnTim.tNext,winNor.proShaLen.locTim.tNext,$PRE.winNor.proShaLen.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 136 * 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.0004748/0.3883, allocations: 310.9 kB / 1.102 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.3885, allocations: 102.8 kB / 1.103 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/0.3916, allocations: 1.525 MB / 1.104 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.3916, allocations: 16 kB / 1.104 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.3916, allocations: 7.938 kB / 1.104 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.3916, allocations: 7.969 kB / 1.104 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.3932, allocations: 1.32 MB / 1.105 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.3932, allocations: 0 / 1.105 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009337/0.3941, allocations: 227.6 kB / 1.106 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.3941, allocations: 8 kB / 1.106 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.5e-05/0.3942, allocations: 43.95 kB / 1.106 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.3942, allocations: 4 kB / 1.106 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.3942, allocations: 3.938 kB / 1.106 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.3967, allocations: 1.36 MB / 1.107 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/0.3972, allocations: 363.2 kB / 1.107 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.3974, allocations: 39.94 kB / 1.107 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009184/0.3983, allocations: 71.92 kB / 1.107 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/0.3986, allocations: 119.8 kB / 1.108 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.3988, allocations: 55.97 kB / 1.108 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008357/0.3996, allocations: 0.5693 MB / 1.108 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3996, allocations: 0 / 1.108 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009883/0.4006, allocations: 339.3 kB / 1.108 GB, free: 0.5977 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition12,$whenCondition11,$whenCondition10,winEas.proShaLen.locTim.tNext,winEas.proShaLen.eqnTim.tNext,winEas.proShaLen.decAng.tNext,$whenCondition9,$whenCondition8,$whenCondition7,winSou.proShaLen.locTim.tNext,winSou.proShaLen.eqnTim.tNext,winSou.proShaLen.decAng.tNext,$whenCondition6,$whenCondition5,$whenCondition4,winWes.proShaLen.locTim.tNext,winWes.proShaLen.eqnTim.tNext,winWes.proShaLen.decAng.tNext,$whenCondition3,$whenCondition2,$whenCondition1,winNor.proShaLen.locTim.tNext,winNor.proShaLen.eqnTim.tNext,winNor.proShaLen.decAng.tNext) * Number of discrete states: 12 (winNor.proShaLen.locTim.tNext,winNor.proShaLen.eqnTim.tNext,winNor.proShaLen.decAng.tNext,winWes.proShaLen.locTim.tNext,winWes.proShaLen.eqnTim.tNext,winWes.proShaLen.decAng.tNext,winSou.proShaLen.locTim.tNext,winSou.proShaLen.eqnTim.tNext,winSou.proShaLen.decAng.tNext,winEas.proShaLen.locTim.tNext,winEas.proShaLen.eqnTim.tNext,winEas.proShaLen.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0007323/0.4013, allocations: 338.8 kB / 1.109 GB, free: 308 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002505/0.4039, allocations: 1.127 MB / 1.11 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4039, allocations: 0 / 1.11 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.405, allocations: 0.6496 MB / 1.111 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.4056, allocations: 95.55 kB / 1.111 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.409, allocations: 2.044 MB / 1.113 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.4097, allocations: 1.081 MB / 1.114 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007105/0.4104, allocations: 192.5 kB / 1.114 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.4108, allocations: 139.3 kB / 1.114 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/0.4108, allocations: 0 / 1.114 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.02547/0.4363, allocations: 13.94 MB / 1.128 GB, free: 13.1 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)