Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 108 kB / 15.6 MB, free: 132 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.001318/0.001318, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.518/2.518, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.89 kB / 0.8693 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5774/0.5795, allocations: 151.6 MB / 1.017 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.006827/0.5863, allocations: 5.259 MB / 1.023 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004925/0.5913, allocations: 2.998 MB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006906/0.592, allocations: 12 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.5924, allocations: 126.4 kB / 1.026 GB, free: 10 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.5942, allocations: 0.611 MB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009377/0.5952, allocations: 0.5579 MB / 1.027 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.5969, allocations: 1.747 MB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006997/0.5976, allocations: 0.5043 MB / 1.029 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008606/0.5985, allocations: 0.6539 MB / 1.03 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000825/0.5994, allocations: 0.7313 MB / 1.03 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.5996, allocations: 192 kB / 1.03 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005401/0.6001, allocations: 371.7 kB / 1.031 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.6004, allocations: 386.8 kB / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005978/0.601, allocations: 0.7349 MB / 1.032 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.6027, allocations: 2.028 MB / 1.034 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6027, allocations: 0 / 1.034 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6027, allocations: 0 / 1.034 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.919e-05/0.6028, allocations: 0 / 1.034 GB, free: 1.465 MB / 0.7794 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.003541/0.6063, allocations: 1.651 MB / 1.036 GB, free: 15.75 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.6064, allocations: 12.03 kB / 1.036 GB, free: 15.74 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/0.6065, allocations: 148 kB / 1.036 GB, free: 15.59 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.6068, allocations: 131.3 kB / 1.036 GB, free: 15.46 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.6079, allocations: 0.7979 MB / 1.037 GB, free: 14.62 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.618e-05/0.6079, allocations: 70.38 kB / 1.037 GB, free: 14.56 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.6081, allocations: 99.94 kB / 1.037 GB, free: 14.46 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.6098, allocations: 1.057 MB / 1.038 GB, free: 13.38 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.6099, allocations: 0 / 1.038 GB, free: 13.38 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.933e-05/0.61, allocations: 39.98 kB / 1.038 GB, free: 13.34 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.61, allocations: 24 kB / 1.038 GB, free: 13.32 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.6116, allocations: 0.8521 MB / 1.039 GB, free: 12.47 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004833/0.6165, allocations: 3.228 MB / 1.042 GB, free: 9.176 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00436/0.6208, allocations: 1.434 MB / 1.043 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008431/0.6217, allocations: 497 kB / 1.044 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-05/0.6218, allocations: 31.89 kB / 1.044 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/0.6231, allocations: 0.7544 MB / 1.044 GB, free: 6.406 MB / 0.795 GB Notification: Performance of pre-optimization done (n=116): time 2.355e-06/0.6231, allocations: 0 / 1.044 GB, free: 6.406 MB / 0.795 GB Notification: Performance of matching and sorting (n=116): time 0.002973/0.626, allocations: 1.501 MB / 1.046 GB, free: 4.902 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.6261, allocations: 152.4 kB / 1.046 GB, free: 4.723 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009565/0.6271, allocations: 0.7862 MB / 1.047 GB, free: 3.93 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.176e-05/0.6272, allocations: 57.7 kB / 1.047 GB, free: 3.867 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.6275, allocations: 420.9 kB / 1.047 GB, free: 3.449 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.6278, allocations: 358.9 kB / 1.048 GB, free: 3.094 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/0.6281, allocations: 202.8 kB / 1.048 GB, free: 2.891 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6283, allocations: 341.9 kB / 1.048 GB, free: 2.551 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000769/0.629, allocations: 394.5 kB / 1.049 GB, free: 2.164 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008939/0.6299, allocations: 0.5237 MB / 1.049 GB, free: 1.602 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.6315, allocations: 0.8605 MB / 1.05 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6316, allocations: 0 / 1.05 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002072/0.6336, allocations: 1.102 MB / 1.051 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.6337, allocations: 4 kB / 1.051 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.6337, allocations: 8.125 kB / 1.051 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.6337, allocations: 4 kB / 1.051 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.6347, allocations: 231.6 kB / 1.051 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.6348, allocations: 11.88 kB / 1.051 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.6358, allocations: 143 kB / 1.051 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.483e-05/0.6359, allocations: 55.94 kB / 1.051 GB, free: 15.16 MB / 0.8106 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.0004347/0.6363, allocations: 294.9 kB / 1.052 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.6365, allocations: 110.7 kB / 1.052 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002927/0.6395, allocations: 1.525 MB / 1.053 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.6395, allocations: 19.94 kB / 1.053 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6395, allocations: 0 / 1.053 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.6395, allocations: 11.97 kB / 1.053 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.641, allocations: 1.32 MB / 1.055 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.641, allocations: 0 / 1.055 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009341/0.6419, allocations: 227.6 kB / 1.055 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.642, allocations: 8 kB / 1.055 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.101e-05/0.642, allocations: 43.95 kB / 1.055 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.966e-05/0.6421, allocations: 11.94 kB / 1.055 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6421, allocations: 0 / 1.055 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.6444, allocations: 1.355 MB / 1.056 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/0.6448, allocations: 363.2 kB / 1.057 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.645, allocations: 36 kB / 1.057 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008278/0.6459, allocations: 79.8 kB / 1.057 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.6461, allocations: 115.8 kB / 1.057 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-05/0.6462, allocations: 59.95 kB / 1.057 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007147/0.6469, allocations: 0.5732 MB / 1.057 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.6469, allocations: 0 / 1.057 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008109/0.6477, allocations: 339.4 kB / 1.058 GB, free: 8.582 MB / 0.8106 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.003095/0.6508, allocations: 2.158 MB / 1.06 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.6531, allocations: 1.133 MB / 1.061 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6532, allocations: 0 / 1.061 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.6542, allocations: 0.6483 MB / 1.062 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.6547, allocations: 95.31 kB / 1.062 GB, free: 4.555 MB / 0.8106 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.6667, allocations: 8.525 MB / 1.07 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.6673, allocations: 1.081 MB / 1.071 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0006906/0.668, allocations: 192.5 kB / 1.071 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007007/0.6687, allocations: 483.2 kB / 1.072 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.6687, allocations: 0 / 1.072 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5978/1.266, allocations: 21.53 MB / 1.093 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.994/9.261, allocations: 11.14 kB / 1.093 GB, free: 4.578 MB / 0.8419 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.fmu > Buildings_10_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)