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.008772/0.008772, allocations: 100.7 kB / 15.73 MB, free: 6.066 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.002488/0.002488, allocations: 196.9 kB / 16.68 MB, free: 5.973 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.599/2.599, allocations: 437 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 59.89 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.694, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.006817/0.7009, allocations: 5.268 MB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005652/0.7065, allocations: 2.998 MB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007179/0.7073, allocations: 12 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.7076, allocations: 130.4 kB / 1.174 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.7095, allocations: 0.6151 MB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000932/0.7104, allocations: 0.5618 MB / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001851/0.7123, allocations: 1.759 MB / 1.177 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007584/0.7131, allocations: 0.5082 MB / 1.178 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008876/0.714, allocations: 0.6578 MB / 1.178 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.715, allocations: 0.7235 MB / 1.179 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002605/0.7153, allocations: 192 kB / 1.179 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006803/0.716, allocations: 383.8 kB / 1.18 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003372/0.7163, allocations: 378.8 kB / 1.18 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007228/0.7171, allocations: 0.7388 MB / 1.181 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.7193, allocations: 2.078 MB / 1.183 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.7193, allocations: 4 kB / 1.183 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7193, allocations: 0 / 1.183 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.7193, allocations: 0 / 1.183 GB, free: 2.699 MB / 0.9044 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.003689/0.723, allocations: 1.685 MB / 1.184 GB, free: 0.9531 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.7231, allocations: 12.92 kB / 1.184 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001916/0.7233, allocations: 148 kB / 1.185 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/0.7235, allocations: 136.1 kB / 1.185 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.7249, allocations: 0.8181 MB / 1.185 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-05/0.725, allocations: 74.38 kB / 1.186 GB, free: 15.72 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.7251, allocations: 95.94 kB / 1.186 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.7271, allocations: 1.057 MB / 1.187 GB, free: 14.55 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.7272, allocations: 4 kB / 1.187 GB, free: 14.55 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.7273, allocations: 40 kB / 1.187 GB, free: 14.51 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.7273, allocations: 20 kB / 1.187 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.7292, allocations: 0.856 MB / 1.188 GB, free: 13.63 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00597/0.7351, allocations: 3.198 MB / 1.191 GB, free: 10.37 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004635/0.7398, allocations: 1.441 MB / 1.192 GB, free: 8.898 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009316/0.7408, allocations: 495.2 kB / 1.193 GB, free: 8.402 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.036e-05/0.7409, allocations: 31.89 kB / 1.193 GB, free: 8.371 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/0.7422, allocations: 0.7542 MB / 1.193 GB, free: 7.598 MB / 0.92 GB Notification: Performance of pre-optimization done (n=116): time 2.805e-06/0.7422, allocations: 0 / 1.193 GB, free: 7.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=116): time 0.003277/0.7455, allocations: 1.512 MB / 1.195 GB, free: 6.082 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.7456, allocations: 152.4 kB / 1.195 GB, free: 5.902 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.7468, allocations: 0.794 MB / 1.196 GB, free: 5.098 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.64e-05/0.7469, allocations: 49.7 kB / 1.196 GB, free: 5.043 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.7473, allocations: 421.6 kB / 1.196 GB, free: 4.625 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/0.7476, allocations: 380.8 kB / 1.197 GB, free: 4.25 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/0.748, allocations: 206.8 kB / 1.197 GB, free: 4.039 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.7482, allocations: 345.9 kB / 1.197 GB, free: 3.695 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008447/0.749, allocations: 398.5 kB / 1.197 GB, free: 3.309 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00097/0.75, allocations: 0.5237 MB / 1.198 GB, free: 2.742 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.7518, allocations: 0.8533 MB / 1.199 GB, free: 1.867 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7518, allocations: 0 / 1.199 GB, free: 1.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002346/0.7541, allocations: 1.11 MB / 1.2 GB, free: 0.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.7542, allocations: 8 kB / 1.2 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7542, allocations: 0 / 1.2 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.7542, allocations: 8 kB / 1.2 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.7553, allocations: 227.5 kB / 1.2 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.7553, allocations: 8 kB / 1.2 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.7563, allocations: 139.4 kB / 1.2 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.7565, allocations: 47.95 kB / 1.2 GB, free: 328 kB / 0.92 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.0004858/0.7569, allocations: 306.9 kB / 1.201 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.7572, allocations: 111.5 kB / 1.201 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/0.7605, allocations: 1.526 MB / 1.202 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.7605, allocations: 23.75 kB / 1.202 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.7605, allocations: 4 kB / 1.202 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.7605, allocations: 7.969 kB / 1.202 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.7622, allocations: 1.331 MB / 1.203 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.7622, allocations: 4 kB / 1.203 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009858/0.7632, allocations: 223.6 kB / 1.204 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.7632, allocations: 8 kB / 1.204 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.7633, allocations: 43.95 kB / 1.204 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.7634, allocations: 7.938 kB / 1.204 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7634, allocations: 4 kB / 1.204 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.766, allocations: 1.36 MB / 1.205 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005378/0.7665, allocations: 367.8 kB / 1.205 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.7667, allocations: 36 kB / 1.205 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008484/0.7676, allocations: 79.86 kB / 1.206 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.7678, allocations: 111.8 kB / 1.206 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.7679, allocations: 55.97 kB / 1.206 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008253/0.7688, allocations: 0.5771 MB / 1.206 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7688, allocations: 0 / 1.206 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008837/0.7697, allocations: 343.3 kB / 1.207 GB, free: 9.715 MB / 0.9356 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.003631/0.7733, allocations: 2.159 MB / 1.209 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002252/0.7756, allocations: 1.063 MB / 1.21 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7756, allocations: 0 / 1.21 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.7768, allocations: 0.6476 MB / 1.21 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005911/0.7774, allocations: 103.2 kB / 1.21 GB, free: 5.746 MB / 0.9356 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.01372/0.7911, allocations: 8.126 MB / 1.218 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007638/0.7919, allocations: 1.081 MB / 1.219 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0006827/0.7926, allocations: 188.5 kB / 1.22 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008154/0.7935, allocations: 483.2 kB / 1.22 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of SimCode: time 5.31e-07/0.7935, allocations: 0 / 1.22 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.083/1.877, allocations: 21.75 MB / 1.241 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/11.99, allocations: 8.641 kB / 1.241 GB, free: 6.086 MB / 0.9669 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)