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.0009036/0.0009036, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.007155/0.007155, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 473.4 MB / 0.7469 GB, free: 6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003572, allocations: 10.72 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3405, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.005815/0.3464, allocations: 4.809 MB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005809/0.3522, allocations: 2.916 MB / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005514/0.3528, allocations: 12 kB / 1.082 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.353, allocations: 79.12 kB / 1.082 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.3547, allocations: 0.5199 MB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007979/0.3555, allocations: 0.5074 MB / 1.083 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001409/0.3569, allocations: 1.599 MB / 1.084 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006328/0.3576, allocations: 0.4965 MB / 1.085 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005766/0.3582, allocations: 489.6 kB / 1.085 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007407/0.3589, allocations: 0.5723 MB / 1.086 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.359, allocations: 44 kB / 1.086 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004547/0.3595, allocations: 207.8 kB / 1.086 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.3597, allocations: 218.8 kB / 1.086 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005404/0.3603, allocations: 0.5843 MB / 1.087 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.362, allocations: 1.881 MB / 1.089 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.362, allocations: 0 / 1.089 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.703e-06/0.362, allocations: 0 / 1.089 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.019e-05/0.362, allocations: 4 kB / 1.089 GB, free: 8.512 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.00331/0.3653, allocations: 1.408 MB / 1.09 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3654, allocations: 12.03 kB / 1.09 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.3656, allocations: 135.3 kB / 1.09 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.3674, allocations: 1.005 MB / 1.091 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.852e-05/0.3675, allocations: 70.38 kB / 1.091 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.3676, allocations: 104.1 kB / 1.091 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.3695, allocations: 1.054 MB / 1.092 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.3695, allocations: 3.938 kB / 1.092 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.481e-05/0.3696, allocations: 36 kB / 1.092 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.3697, allocations: 24 kB / 1.092 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.3713, allocations: 0.8521 MB / 1.093 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005248/0.3766, allocations: 3.252 MB / 1.096 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004445/0.3811, allocations: 1.431 MB / 1.098 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008768/0.382, allocations: 499.1 kB / 1.098 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.859e-05/0.3821, allocations: 23.95 kB / 1.098 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/0.3834, allocations: 0.7567 MB / 1.099 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=116): time 2.905e-06/0.3834, allocations: 0 / 1.099 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=116): time 0.00305/0.3865, allocations: 1.513 MB / 1.101 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.238e-05/0.3866, allocations: 144.5 kB / 1.101 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.3876, allocations: 0.7823 MB / 1.101 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.754e-05/0.3877, allocations: 49.7 kB / 1.102 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/0.388, allocations: 412.9 kB / 1.102 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.3884, allocations: 358.9 kB / 1.102 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.3885, allocations: 89.67 kB / 1.102 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3887, allocations: 349.9 kB / 1.103 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007767/0.3894, allocations: 394.5 kB / 1.103 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008709/0.3903, allocations: 0.5276 MB / 1.104 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.3919, allocations: 0.845 MB / 1.104 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3919, allocations: 4 kB / 1.104 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00203/0.3939, allocations: 1.105 MB / 1.105 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.394, allocations: 8 kB / 1.105 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.394, allocations: 0 / 1.105 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.394, allocations: 8 kB / 1.105 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.395, allocations: 231.5 kB / 1.106 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/0.395, allocations: 11.94 kB / 1.106 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.3961, allocations: 155 kB / 1.106 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-05/0.3962, allocations: 59.94 kB / 1.106 GB, free: 6.477 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.0004829/0.3967, allocations: 306.8 kB / 1.106 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.3969, allocations: 106.7 kB / 1.106 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002871/0.3997, allocations: 1.521 MB / 1.108 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.3998, allocations: 16 kB / 1.108 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.3998, allocations: 3.938 kB / 1.108 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.3998, allocations: 7.969 kB / 1.108 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.4013, allocations: 1.32 MB / 1.109 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.4013, allocations: 0 / 1.109 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009024/0.4022, allocations: 231.6 kB / 1.109 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/0.4022, allocations: 8 kB / 1.109 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-05/0.4023, allocations: 43.95 kB / 1.109 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.4023, allocations: 4 kB / 1.109 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/0.4023, allocations: 7.938 kB / 1.109 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.4047, allocations: 1.36 MB / 1.111 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/0.4052, allocations: 375.2 kB / 1.111 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.4054, allocations: 36 kB / 1.111 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008088/0.4062, allocations: 83.92 kB / 1.111 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.4065, allocations: 119.8 kB / 1.111 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.4066, allocations: 55.95 kB / 1.111 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000752/0.4073, allocations: 0.5654 MB / 1.112 GB, free: 220 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4074, allocations: 0 / 1.112 GB, free: 220 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008296/0.4082, allocations: 343.3 kB / 1.112 GB, free: 15.88 MB / 0.8731 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.0006547/0.4089, allocations: 344 kB / 1.113 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002059/0.4109, allocations: 1.053 MB / 1.114 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4109, allocations: 0 / 1.114 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.412, allocations: 0.6498 MB / 1.114 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.4127, allocations: 95.31 kB / 1.114 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/0.4167, allocations: 2.517 MB / 1.117 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/0.4174, allocations: 1.089 MB / 1.118 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006936/0.4181, allocations: 192.5 kB / 1.118 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003718/0.4185, allocations: 131.4 kB / 1.118 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.4185, allocations: 0 / 1.118 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of Templates: time 0.02254/0.441, allocations: 13 MB / 1.131 GB, free: 12.9 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)