Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_latest_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.001192/0.001192, allocations: 108 kB / 15.61 MB, free: 152 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.001352/0.001352, allocations: 197 kB / 16.53 MB, free: 6.664 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.67/2.67, allocations: 469.4 MB / 0.742 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 66.8 kB / 0.9082 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.257, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.006772/0.2639, allocations: 5.27 MB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005433/0.2693, allocations: 3.006 MB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008263/0.2702, allocations: 12 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.2708, allocations: 126.4 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002785/0.2736, allocations: 0.6066 MB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.2748, allocations: 0.554 MB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002561/0.2774, allocations: 1.747 MB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.2785, allocations: 0.5161 MB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.28, allocations: 0.65 MB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.2812, allocations: 0.7389 MB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004133/0.2816, allocations: 192 kB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009587/0.2826, allocations: 355.8 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005748/0.2832, allocations: 386.8 kB / 1.077 GB, free: 368 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.2843, allocations: 0.7349 MB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002259/0.2866, allocations: 2.026 MB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2866, allocations: 0 / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2866, allocations: 0 / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.971e-05/0.2867, allocations: 4 kB / 1.08 GB, free: 13.59 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.004348/0.291, allocations: 1.649 MB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2911, allocations: 11.97 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002086/0.2913, allocations: 144 kB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/0.2916, allocations: 131.3 kB / 1.082 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.2928, allocations: 0.798 MB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/0.2929, allocations: 70.38 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.293, allocations: 99.94 kB / 1.083 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.295, allocations: 1.054 MB / 1.084 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.295, allocations: 7.922 kB / 1.084 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.244e-05/0.2951, allocations: 36 kB / 1.084 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.2952, allocations: 24 kB / 1.084 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.297, allocations: 0.856 MB / 1.085 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00605/0.3031, allocations: 3.224 MB / 1.088 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004743/0.3079, allocations: 1.431 MB / 1.089 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.3089, allocations: 0.4888 MB / 1.09 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.3091, allocations: 35.89 kB / 1.09 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002021/0.3111, allocations: 0.7523 MB / 1.091 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=116): time 5.06e-06/0.3111, allocations: 0 / 1.091 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of matching and sorting (n=116): time 0.004855/0.316, allocations: 1.505 MB / 1.092 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.3161, allocations: 152.4 kB / 1.092 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.3178, allocations: 0.79 MB / 1.093 GB, free: 48 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001544/0.318, allocations: 57.77 kB / 1.093 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004685/0.3185, allocations: 409 kB / 1.094 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004613/0.319, allocations: 366.7 kB / 1.094 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006059/0.3196, allocations: 202.8 kB / 1.094 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3198, allocations: 345.9 kB / 1.094 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.3212, allocations: 402.5 kB / 1.095 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.3226, allocations: 0.5198 MB / 1.095 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002642/0.3253, allocations: 0.8488 MB / 1.096 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.3253, allocations: 4 kB / 1.096 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003546/0.3288, allocations: 1.102 MB / 1.097 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.3289, allocations: 15.92 kB / 1.097 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.3289, allocations: 0 / 1.097 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.289e-05/0.329, allocations: 8 kB / 1.097 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.3306, allocations: 227.5 kB / 1.097 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-05/0.3306, allocations: 11.94 kB / 1.097 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.3324, allocations: 139.2 kB / 1.098 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.3325, allocations: 47.95 kB / 1.098 GB, free: 11.29 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.0007724/0.3333, allocations: 310.9 kB / 1.098 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004068/0.3337, allocations: 106.7 kB / 1.098 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004796/0.3385, allocations: 1.525 MB / 1.1 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/0.3386, allocations: 19.94 kB / 1.1 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.3386, allocations: 8 kB / 1.1 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.377e-05/0.3387, allocations: 7.969 kB / 1.1 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.3411, allocations: 1.32 MB / 1.101 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.3412, allocations: 0 / 1.101 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/0.3427, allocations: 223.6 kB / 1.101 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.673e-05/0.3428, allocations: 8 kB / 1.101 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/0.343, allocations: 43.95 kB / 1.101 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-05/0.343, allocations: 7.938 kB / 1.101 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.343, allocations: 4 kB / 1.101 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/0.3472, allocations: 1.36 MB / 1.102 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009847/0.3482, allocations: 355.3 kB / 1.103 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003543/0.3485, allocations: 39.91 kB / 1.103 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.3499, allocations: 79.86 kB / 1.103 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000344/0.3503, allocations: 115.8 kB / 1.103 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.3505, allocations: 55.97 kB / 1.103 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001273/0.3517, allocations: 0.5732 MB / 1.104 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3518, allocations: 4 kB / 1.104 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00152/0.3533, allocations: 347.3 kB / 1.104 GB, free: 4.695 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.005046/0.3583, allocations: 2.154 MB / 1.106 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003941/0.3623, allocations: 1.131 MB / 1.107 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.3623, allocations: 0 / 1.107 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001761/0.3641, allocations: 0.646 MB / 1.108 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.3651, allocations: 99.3 kB / 1.108 GB, free: 0.6758 MB / 0.8575 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.02048/0.3856, allocations: 8.518 MB / 1.116 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008747/0.3865, allocations: 1.085 MB / 1.117 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001229/0.3878, allocations: 184.5 kB / 1.117 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007188/0.3885, allocations: 483.2 kB / 1.118 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of SimCode: time 8.62e-07/0.3885, allocations: 0 / 1.118 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6346/1.023, allocations: 21.54 MB / 1.139 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.388/9.411, allocations: 6.188 kB / 1.139 GB, free: 0.707 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)