Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.000948/0.0009482, allocations: 91.84 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.006811/0.006811, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.966/2.966, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 9.594 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3393, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.005844/0.3452, allocations: 4.809 MB / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005512/0.3508, allocations: 2.916 MB / 1.082 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006208/0.3514, allocations: 12 kB / 1.082 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.3516, allocations: 79.12 kB / 1.082 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.3532, allocations: 0.5232 MB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008288/0.354, allocations: 0.5073 MB / 1.083 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001438/0.3555, allocations: 1.603 MB / 1.084 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006445/0.3561, allocations: 0.4887 MB / 1.085 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006233/0.3568, allocations: 481.6 kB / 1.085 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000761/0.3575, allocations: 0.5752 MB / 1.086 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.3577, allocations: 40 kB / 1.086 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004795/0.3581, allocations: 215.8 kB / 1.086 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.3584, allocations: 218.8 kB / 1.086 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005221/0.3589, allocations: 0.5804 MB / 1.087 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.3606, allocations: 1.884 MB / 1.089 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3607, allocations: 0 / 1.089 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3607, allocations: 0 / 1.089 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.793e-05/0.3607, allocations: 0 / 1.089 GB, free: 8.555 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.003373/0.3641, allocations: 1.413 MB / 1.09 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.3641, allocations: 8.031 kB / 1.09 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.3644, allocations: 131.3 kB / 1.09 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.3663, allocations: 1.016 MB / 1.091 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/0.3664, allocations: 70.38 kB / 1.091 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.3665, allocations: 100.1 kB / 1.091 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.3684, allocations: 1.05 MB / 1.092 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.3684, allocations: 4 kB / 1.092 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.352e-05/0.3685, allocations: 36 kB / 1.092 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.3686, allocations: 20 kB / 1.092 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.3702, allocations: 0.8599 MB / 1.093 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005127/0.3753, allocations: 3.244 MB / 1.096 GB, free: 436 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004337/0.3797, allocations: 1.442 MB / 1.098 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008502/0.3806, allocations: 0.4883 MB / 1.098 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.829e-05/0.3806, allocations: 27.89 kB / 1.098 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/0.3819, allocations: 0.7583 MB / 1.099 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=116): time 2.695e-06/0.3819, allocations: 0 / 1.099 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=116): time 0.002997/0.3849, allocations: 1.501 MB / 1.101 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.385, allocations: 152.4 kB / 1.101 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.3861, allocations: 0.7862 MB / 1.101 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.628e-05/0.3862, allocations: 45.7 kB / 1.102 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.3865, allocations: 416.9 kB / 1.102 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.3868, allocations: 358.9 kB / 1.102 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.3869, allocations: 89.67 kB / 1.102 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.387, allocations: 341.9 kB / 1.103 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007847/0.3878, allocations: 390.5 kB / 1.103 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008714/0.3887, allocations: 0.5238 MB / 1.104 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.3904, allocations: 0.8566 MB / 1.104 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3904, allocations: 0 / 1.104 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002109/0.3925, allocations: 1.109 MB / 1.105 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3925, allocations: 4 kB / 1.105 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.3925, allocations: 7.984 kB / 1.105 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3926, allocations: 11.88 kB / 1.105 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.3936, allocations: 227.6 kB / 1.106 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.3936, allocations: 11.88 kB / 1.106 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.3947, allocations: 158.9 kB / 1.106 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.552e-05/0.3948, allocations: 43.97 kB / 1.106 GB, free: 6.516 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.0005088/0.3953, allocations: 310.8 kB / 1.106 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.3955, allocations: 110.7 kB / 1.106 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002929/0.3984, allocations: 1.518 MB / 1.108 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.3984, allocations: 16 kB / 1.108 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.3984, allocations: 7.938 kB / 1.108 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.3985, allocations: 7.969 kB / 1.108 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.4, allocations: 1.316 MB / 1.109 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.4001, allocations: 0 / 1.109 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009041/0.401, allocations: 227.6 kB / 1.109 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.401, allocations: 4 kB / 1.109 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.043e-05/0.4011, allocations: 43.95 kB / 1.109 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.4011, allocations: 12 kB / 1.109 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4011, allocations: 7.938 kB / 1.109 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.4035, allocations: 1.352 MB / 1.111 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/0.4039, allocations: 379.2 kB / 1.111 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.4041, allocations: 39.94 kB / 1.111 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008189/0.4049, allocations: 79.92 kB / 1.111 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.4052, allocations: 123.8 kB / 1.111 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.601e-05/0.4053, allocations: 55.95 kB / 1.111 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000756/0.406, allocations: 0.5654 MB / 1.112 GB, free: 256 kB / 0.8575 GB Notification: Performance of sort global known variables: time 2.41e-07/0.406, allocations: 0 / 1.112 GB, free: 256 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009316/0.407, allocations: 343.3 kB / 1.112 GB, free: 15.91 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.0008112/0.4078, allocations: 340.5 kB / 1.113 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002198/0.41, allocations: 1.057 MB / 1.114 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.41, allocations: 4 kB / 1.114 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.4112, allocations: 0.6457 MB / 1.114 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.4119, allocations: 95.31 kB / 1.114 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.4158, allocations: 2.526 MB / 1.117 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006705/0.4165, allocations: 1.081 MB / 1.118 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007508/0.4172, allocations: 192.5 kB / 1.118 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003968/0.4176, allocations: 135.4 kB / 1.118 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/0.4177, allocations: 0 / 1.118 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.02297/0.4406, allocations: 12.99 MB / 1.131 GB, free: 12.95 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile (rm -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & ./Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)