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.001713/0.001713, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002863/0.002863, allocations: 193.7 kB / 16.14 MB, free: 6.688 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.88/2.88, allocations: 472.6 MB / 0.7447 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 70.38 kB / 0.9113 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.327, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.006591/0.3336, allocations: 5.249 MB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005377/0.339, allocations: 2.951 MB / 1.076 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000482/0.3396, allocations: 12 kB / 1.076 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.3398, allocations: 83.12 kB / 1.076 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.3417, allocations: 0.5203 MB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3427, allocations: 0.519 MB / 1.077 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002314/0.3451, allocations: 1.603 MB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007298/0.3458, allocations: 0.5004 MB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008409/0.3467, allocations: 0.5249 MB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008815/0.3476, allocations: 0.647 MB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.3477, allocations: 68 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007139/0.3484, allocations: 235.8 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003293/0.3488, allocations: 250.8 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008294/0.3496, allocations: 0.6178 MB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00242/0.352, allocations: 1.94 MB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3521, allocations: 0 / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3521, allocations: 0 / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.35e-05/0.3521, allocations: 0 / 1.083 GB, free: 11.09 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.004569/0.3567, allocations: 1.641 MB / 1.084 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.93e-05/0.3568, allocations: 12.03 kB / 1.084 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004041/0.3572, allocations: 135.3 kB / 1.085 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002671/0.3598, allocations: 0.9968 MB / 1.086 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.824e-05/0.36, allocations: 78.36 kB / 1.086 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.3601, allocations: 92.12 kB / 1.086 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.3623, allocations: 1.057 MB / 1.087 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.3623, allocations: 3.938 kB / 1.087 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.209e-05/0.3624, allocations: 39.98 kB / 1.087 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.3624, allocations: 27.98 kB / 1.087 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.3642, allocations: 0.856 MB / 1.088 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005991/0.3702, allocations: 3.213 MB / 1.091 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004772/0.375, allocations: 1.442 MB / 1.092 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008962/0.376, allocations: 495.2 kB / 1.093 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.022e-05/0.3761, allocations: 27.95 kB / 1.093 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/0.3776, allocations: 0.7603 MB / 1.093 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=116): time 2.916e-06/0.3776, allocations: 0 / 1.093 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=116): time 0.003271/0.3809, allocations: 1.501 MB / 1.095 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/0.381, allocations: 152.4 kB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.382, allocations: 0.7783 MB / 1.096 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.114e-05/0.3821, allocations: 57.7 kB / 1.096 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.3824, allocations: 409 kB / 1.096 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003847/0.3828, allocations: 366.8 kB / 1.097 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003459/0.3832, allocations: 198.8 kB / 1.097 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3833, allocations: 349.9 kB / 1.097 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008005/0.3841, allocations: 390.5 kB / 1.098 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009142/0.3851, allocations: 0.5315 MB / 1.098 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.3868, allocations: 0.8488 MB / 1.099 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3869, allocations: 0 / 1.099 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002181/0.389, allocations: 1.106 MB / 1.1 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3891, allocations: 4 kB / 1.1 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3891, allocations: 4.125 kB / 1.1 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.3891, allocations: 8 kB / 1.1 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.3902, allocations: 227.6 kB / 1.1 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.3902, allocations: 11.94 kB / 1.1 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.3913, allocations: 150.9 kB / 1.1 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.039e-05/0.3914, allocations: 43.97 kB / 1.1 GB, free: 8.754 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.0005336/0.3919, allocations: 314.8 kB / 1.101 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.3921, allocations: 102.8 kB / 1.101 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/0.3953, allocations: 1.525 MB / 1.102 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.3954, allocations: 16 kB / 1.102 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3954, allocations: 3.938 kB / 1.102 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/0.3954, allocations: 11.97 kB / 1.102 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.397, allocations: 1.312 MB / 1.104 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.397, allocations: 7.984 kB / 1.104 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009835/0.398, allocations: 223.7 kB / 1.104 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.398, allocations: 7.938 kB / 1.104 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-05/0.3981, allocations: 39.97 kB / 1.104 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.3981, allocations: 11.98 kB / 1.104 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3981, allocations: 3.938 kB / 1.104 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.4006, allocations: 1.36 MB / 1.105 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004781/0.4011, allocations: 363.2 kB / 1.106 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.4013, allocations: 36 kB / 1.106 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008375/0.4021, allocations: 67.94 kB / 1.106 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.4024, allocations: 123.8 kB / 1.106 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.4025, allocations: 59.91 kB / 1.106 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007603/0.4033, allocations: 0.5654 MB / 1.106 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4033, allocations: 0 / 1.106 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008519/0.4041, allocations: 335.4 kB / 1.107 GB, free: 2.188 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.0006919/0.4048, allocations: 345.1 kB / 1.107 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002125/0.407, allocations: 1.061 MB / 1.108 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.407, allocations: 0 / 1.108 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.4081, allocations: 0.6419 MB / 1.109 GB, free: 184 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.4087, allocations: 95.3 kB / 1.109 GB, free: 88 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.4125, allocations: 2.518 MB / 1.111 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/0.4132, allocations: 1.089 MB / 1.112 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007312/0.414, allocations: 184.5 kB / 1.112 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/0.4144, allocations: 135.3 kB / 1.113 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of SimCode: time 8.42e-07/0.4144, allocations: 0 / 1.113 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of Templates: time 0.02725/0.4417, allocations: 13.22 MB / 1.125 GB, free: 15 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)